Welcome to WebmasterWorld Guest from 184.108.40.206
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322
What do i put in my .htaccess file to ban this browser ?
[edited by: encyclo at 12:11 am (utc) on Mar. 20, 2008]
You'll need to look for some additional criteria to block these guestbook postings, or you risk losing a fairly big number of legitimate visitors.
Some additional criteria to investigate:
As for the code, try searching this forum for recent posts on the same or similar subjects. We'll be happy to help you get your own code working, but unfortunately, we don't have enough contributors to support a "free coding service" in this forum.
Make sure your robots.txt is correctly-coded to Disallow Cuill's Twiceler robot, and make sure that robots.txt is accessible to all robots, good or bad, and without a password or any other restrictions. If, despite robots.txt exclusion, you get a request from a Disallowed robot, make sure you return a 403-Forbidden response.
Further, if you use a custom 403 error page, make sure that that page is accessible to all requestors, good or bad, to avoid putting your server into an 'infinite' loop.
Also, a comment on the previous part of this thread: When you block a "bad guy" do not give him any information whatsoever, other than the 403-Forbidden response. If you tell him why or how he's blocked, he may fix his script to get around your block. If you taunt him, he may subject your site to a DOS attack. Information is power; Do not empower your enemies.
"Revenge is a dish best served up cold."
Doubtful: They play the numbers game, and far more sites are totally unprotected than protected. They simply don't care if a thousand pages out of 12 trillion forbids their access. (12 trillion pages indexed by Google as containing the word "the" as of today.)