PDA

View Full Version : Secure your site with an IP trap



michael_s
04-30-2008, 10:30 AM
Will work with any version 2.2 and onwards

This contribution traps bad bots and anyone taking too much interest is you site
It’s a full contribution that is automatic and hassle free for you to have.
It offers you security from some of the nasty’s out there.

The contribution works by setting up a trap in a folder that only bad bots, or someone poking around in your site will come across (hackers use the Robots.txt to try and find sensitive file on your server) it then redirects then to a message page that tells them they are blocked, at the same time writing their IP number to file.
If they try to return they will only get the blocked message.

If you want to see it in action go to
http://www.opensourcecommerce.net/personal you will be banned but will also see it working, please contact me to un-ban you!!!

Contribution is a culmination of various forums and some work of my own, thank you to all those who have been part of the topic, I cannot remember who they are but let me know and I will put your credit on file.


Files to change are :-
.htaccess (optional)
Index.php
Plus some new files.

ALWAYS BACK UP FIRST !!


More... (http://addons.oscommerce.com/info/5914)