Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to ban specific IP's?


annasmith

Recommended Posts

That;s usually done via your control panel. Ask your host if there is an option to do it from there. You can also edit the .htaccess file in your root directory if you feel comfortable doing so.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

@@annasmith

Hi Anna, here's the simplest method, open up your htaccess file in your root directory and add (as an example):

 

#Russian malware scripter network range

deny from 178.0.0.0/8

 

or for a specific ip

 

deny from 204.11.219.90

 

you could also do it like these examples: (note the dot at the end)

 

deny from 204.11.219.

 

deny from 204.11.

 

deny from 204.

 

Regards

 

Sara

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...