Hi Mike, If your using Apache it has some features in the htaccess file that will allow you to disable access to your server for bots causing you trouble.
In your Cake 404 display page keep track of the number of times a 404 is generated per IP address, and if it exceeds a threshold log that IP address to a text file. Humans browsing a website will not generate many 404 messages, even if they have bad bookmarks, or follow old links from search engines. So an IP address requesting more then one hundred 404 errors is likely a problem bot. Each time a 404 page is display log the IP to a database with a counter. When the counter reaches your limit add that IP address to a text file. In your .htaccess you can load this text file of IP addresses and apply rules to those addresses. It's up to you if you wish to display a static access denied Html page, or simply throw a connection refused. Sorry I don't remember the commands for the htaccess file. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
