This add-on is register_globals compatible
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 !!
Legend: 
Download

Report
Some minor code change
full package included.
thanks to EricK for the heads up.
Same version, last had a TYPO
It DOES work on a windows server!
Updated core code in the personal/index.php
Updated core code in includes/secret.php
added $DOCUMENT_ROOT=$_SERVER['DOCUMENT_ROOT']; over absolute path to give the user less set up to do.
now install is only a couple of changes to make.
Install takes only 5 minute to do,
DOES NOT RUN ON WINDOWS
V 1.2
This version addresses IP numbers not being written to the text file, or added to the e mails.
This version should also prevent the problem of all users being banned on occasion!
banned.php I have re-worded this to a more friendly theme with a message just in case
a real customer should somehow manage to stumble upon it.
E-Mail has a better construction format, I have added a link so that you can copy the IP number
click the link and go to a web site to see where the IP resolves [just in case its a search engine].
More reliable and less prone to permission problems.
This version should install and work from the off.
As always, back up first & use at your own risk.
DOES NOT WORK ON WINDOWS SERVERS
Updated:-
includes a new secret.php file that takes the code from the index.php and puts it into your includes directory.
called from application_top.php it will now protect your whole site as opposed to the earlier version that only checked out your index.php.
Full package.
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 !!