Tuesday, September 07, 2010

Easy PHP Blackhole Trap with WHOIS Lookup for Bad Bots

"One of my favorite security measures here at Perishable Press is the site’s virtual Blackhole trap for bad bots. The concept is simple: include a hidden link to a robots.txt-forbidden directory somewhere on your pages. Bots that ignore or disobey your robots rules will crawl the link and fall into the trap, which then performs a WHOIS Lookup and records the event in the blackhole data file."
Enhanced by Zemanta

No comments:

Post a Comment