Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Ban IPs from selected States


dave111

Recommended Posts

If you mean US states, then no, since there's no way to determine the state from the IP address.

top level IP ranges are generally allocated to countries, and subdivided into ISPs and major organisations usually, so you can ban entire countries or subranges if you know what range you are interested in.

Even that is not foolproof - there are easy ways to mask your IP address.

Link to comment
Share on other sites

Often, if the customer is US based and has cable and that persons ip address is blocked the cable will reroute to another ip address anyway. I had this problem with one of my sites and a hacker using Road Runner. I've lost count now of how many Road Runner IP addresses I have blocked. And Road Runner IP addresses ARE allocated in blocks based on their State, but if you block Road Runner New York then it'll just reroute to Road Runner Boston anyway.

 

Vger

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...