Preventing Comment Spam

By Deane Barker on September 18, 2003

Ounce of prevention: Adam Kalsey is in a war against comment spam, and he shares some great ideas here:

“What will probably be the biggest help is the thing that was easiest to do: changing the comment script name.

What else would be effective is changing the names of all the form fields. Making them short random strings would make it impossible for a bot to recognize the comment form using only the field names. People would be able to understand the form because of the labels, but bots would have to implement a large amount of fuzzy logic in order to recognize that ‘Name,’ ‘Your Name:,’ and other forms are really the same thing.”

Gadgetopia

Comments

  1. Spam filtering is essential for any website with comments enabled. I once built a website on which I did not enable any filter system. I now have 8000 pages of 20 comments per page to remove. Select all, delete. Select all, delete. Select all, delete. Select all, delete. Select all, delete. Select all, delete. Select all, delete. Lesson learned.

Comments are closed. If you have something you really want to say, email editors@gadgetopia.com and we‘ll get it added for you.