Preventing spam with Community Server 2007

We live at a time where spam is becoming more problematic than viruses. And as the spam bots get more sophisticated, becomes easier for them to invade any online site and fill with comments blogs, admin addresses and even forums. Kartones.Net is no exception, and lately we're starting to have an alarming number of spam comments, so I've researched a bit and here is the (multiple) solution I've adopted to prevent further spamming in our community.

A not so known feature you can tweak is Community Server's task in charge of deleting spam comments. By default, it deletes them each 30 days, so I've changed it to 1 day. You can alter it's value by modifying the CommunityServer.config file, under the <Tasks> section, task name DeleteStaleSpamCommentsJob, expirationDays property.

In the community settings, you can enable multiple rules to block it. This are the ones I've activated to prevent it.

CS2007 CAPTCHA module to filter some spam before it even gets to the server. Good news is that with official blog themes it works without adding additional code (cheers for the developers). Bad news is that some advanced spam bots even have OCR technology and bypass it, but it filters part of them so I'll leave it anyway.
Here's how it looks:

  • Any comment requires a CAPTCHA validation
  • If bot passes it, forbidden words, bad word count and link count will flag the comment as spam
  • Bloggers won't even notice the spam comment because it won't be published
  • Next day the system will delete the spam comment without user interaction

With all this countermeasures, I hope to catch allmost all the f****ng spam.

Posted by Kartones on 2007-06-03

Comments?

Share via: Twitter Linkedin Google+ Facebook