Jump to content

Archived

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

annasmith

How to ban specific IP's?

Recommended Posts

Hey all,

 

 

I am newbi to osCommerce and want to know is there a way to ban specific ips.

 

I am using 3.2.1

 

Thanks in advance.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

@@annasmith

 

There are contributions available. Check for IP trap contribution.


Like post..hit LIKE button.

 

osCommerce | Joomla | WordPress | Magento | SEO | CakePHP | CI

 

Guaranteed Website Speed Optimization!!

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

×