Restricting Access to Your Website by country

Not too long ago I was getting a lot of hits from overseas.  I started doing a little bit of research trying to limit this access and that is when I came across Country IP Blocks website which generates ACLs (Access Control Lists) per country.  It will even generate an .htaccess file for you.

This took a lot of work out of it because I was planning on doing a brute force approach based upon IP referrers and then blocking ranges if I identified them running scans.  It’s a find, I felt worth sharing.

You may also like...

Leave a Reply