jlynskey Posted June 30, 2009 Share Posted June 30, 2009 i originally posted this thread in another category, but i felt like it really belonged here: i was searching google one day looking for anti spam bot solutions when i stumbled across a php based application that apparently can be attached to any php based web application. the program that caught my attention is called "bad behavior". apparently it is supposed to act as a gatekeeper, preventing spam bots from ever seeing your site. it works by monitoring the way a user uses the web interface as well as what type of program is used. they claim its googlebot safe and is designed to compliment other existing anti spam bot solutions. it even has claims to recognize and block unknown spam bots. personally, if this application really works, it is an absolute must. the problem is this: you need a "connector" to connect it to your php application and you need to find a "connector" in order to find the installation instructions. despite the countless possible applications you can connect this to, i cannot seem to find one for oscommerce. i was wondering if any experienced oscommerce user/coder out there could create a bad behavior connector for oscommerce, test it so that it is proven to work, and submit it for the rest of us... please biggrin.gif oh yeah, i believe it may be under a general public use license (not sure) so it may be able to be released as a contribution on oscommerce the link is here: http://www.bad-behavior.ioerror.us/ this is a pointer for creating this "connector" that i found on the website If you want to install Bad Behavior to a system other than those to which it has already been ported, you will almost certainly need some knowledge of PHP or some assistance by someone who does have such knowledge. These notes should get you in the right direction. By default Bad Behavior can provide protection to any PHP script out of the box, but it cannot provide logging. If you are willing to live without Bad Behavior’s detailed logs, simply install the Bad Behavior folder somewhere on your server, and then call require_once("/path/to/Bad-Behavior/bad-behavior-generic.php"); from your PHP script. I recommend placing this function call in a common piece of PHP code which is loaded from all parts of your PHP-based software, so that it can provide protection to all parts of your software. Please note that Bad Behavior relies on its database logging for some parts of its spam protection, and thus will run in a degraded mode when no logging is available. If you just can’t live without logging, you will need to provide a database connection. Bad Behavior uses callbacks whenever it needs to run a database query; in order to provide this functionality, you will need to provide the appropriate hooks into your PHP-based software’s database and add them into the bad-behavior-generic.php file. The code has stub functions which show what is needed, and you can use the bad-behavior-wordpress.php file as an example to work from, though your implementation will necessarily be different. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.