Blocking IP ranges or countries in Drupal 7

asked Jul 19, 2012 in Website Builder by carebare (1,420 points)
I have a drupal website and I want to block a country from accessing me website. I want to do by either blocking the range for that country or blocking that country’s code, but I’m not sure how to do this in Druap 7, can anyone please advise me?
Thanks and regards

1 Answer

0 like 0 dislike
answered Jul 19, 2012 by TopNet (10,360 points)
You can use the block.api.php module this page has further details!block!block.api.php/7
and you can check the country IPs here