This post originated from an RSS feed registered with .NET Buzz
by Sascha Corti.
Original Post: Comment Spam Unfriendly
Feed Title: Console.WriteLine("Hello World");
Feed URL: http://www.corti.com/WebLogSascha/blogxbrowsing.asmx/GetRss?
Feed Description: A technology blog with a focus on the .NET framework, the Visual Studio .NET tools and the Windows server platform with of course the normal weblog-noise on what's happening in the industry and reviews of the latest geeky gadgets.
I decided to make my weblog engine a little more comment spam unfriendly by adding a captcha validation to the comments section and by not displaying URLs or email addresses written in comments as hyperlinks anymore as I was recently flooded by comment spam.
If you are intersted in my ASP.NET based captcha control, you may download its source from here. You can simply add it to your ASP.NET project and send it a Validate() method, which returns a boolean telling you if the user entered the right string or not. The control needs view state enabled to work properly.