Welcome to WebmasterWorld Guest from 184.73.126.70

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Block by .htaccess

   
7:43 pm on Mar 3, 2009 (gmt 0)

5+ Year Member



I was wondering if someone could point me in the right direction. I'm wondering if it is possible to block the entire state of Georgia from viewing my website. Is there a way to do this within the .htaccess file? Either by zip code, or IP address range?

I know it wont be 100% accurate, but it should do what I aiming for. Any feedback would be great.

7:50 pm on Mar 3, 2009 (gmt 0)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Look into GeoIP services; IP addresses are not assigned by state, or even by country. It takes a huge and frequently-maintained database to even track to the country level -- something a single Webmaster simply cannot keep up with.

Jim

7:56 pm on Mar 3, 2009 (gmt 0)

5+ Year Member



Thanks Jim. I've actually been looking into geoip. It seems pretty strait forward to use.
10:08 pm on Mar 3, 2009 (gmt 0)

5+ Year Member



What is the security issue you are trying to address? I would be very careful with blocking entire regions based on IP. You never know what search bots, proxies or other items may reside in that area.
10:40 pm on Mar 3, 2009 (gmt 0)

5+ Year Member



Its not a security issue. Its more an agreement with a partner that I will try and eliminate a particular geographical area. Any suggestions?
 

Featured Threads

Hot Threads This Week

Hot Threads This Month