So, I make this off-handed comment about my blog getting spammed. I lamented about how nice it would be if only there were a way to push back the tide of filth and rot that flows through my feedback lists. Less than 24 hours later, I have two solutions sitting in my inbox. How is that for cool?
First, Chrissy went to all sorts of trouble and actually built a SQL trigger to check for certain keywords and if the comment is declared "spam" it gets eradicated. I'd like to think she sat down and wrote this just for me, but I know it was probably as self-serving as it was generous. Thanks, Chrissy!
http://netnerds.net/archive/2004/10/29/286.aspx
My friend RoudyBob wrote a blog post about the insane amounts of spam we bloggers have been getting. Because I'm not well-versed in ASP.NET and I wanted a solution today, I decided to fight blog spam using a simple keyword filter trigger. You can read about it here.
Then, .Text guru Dave Kekish posts the methodology for his "Are you a human?" check on his blog. Based on some work done by Chris Kunicki, Dave built some DLLs and put together a modification to the PostComment user control. Thanks, Dave!
http://meandering-blog.com/archive/2004/10/29/504.aspx
Seems a lot of people are getting hit with comment spam.
This is what I did to add the are you human check. Its not perfect by any means, so no guarantee is given.
Its all based on the work by Chris Kunicki.
Here goes. First grab my set of compiled DLL's Here.
Second grab the JpegImage.ascx control from Chris. Third. Move your PostComment.ascx file to the root of the Skin directory. Copy the jpegImage.ascx file there as well.
[Read the rest of Dave's post...]