annasmith Posted July 22, 2012 Share Posted July 22, 2012 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. Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 22, 2012 Share Posted July 22, 2012 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 More sharing options...
Praful Kamble Posted July 22, 2012 Share Posted July 22, 2012 @@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!! Link to comment Share on other sites More sharing options...
Juto Posted July 22, 2012 Share Posted July 22, 2012 @@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 Contributions: http://addons.oscommerce.com/info/8010 http://addons.oscommerce.com/info/8204 http://addons.oscommerce.com/info/8681 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.