Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14361 reviews 1715 hosting providers

Questions & Answers

Blocking IP ranges or countries in Drupal 7

Jul 19, 2012 by carebare
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 votes
Jul 19, 2012 by TopNet
You can use the block.api.php module this page has further details
and you can check the country IPs here http://drupal.org/project/ip_ranges