Nino.Mobile now with CAPTCHA / HIP
After spending some time today purging my blog of the latest round of comment spam, I decided to implement CAPTCHA images for comments. I did a quick Google to see if anyone had created a control or something I could implement pretty painlessly. I found an example by Dave Burke based on work by Chris Kunicki (which, in turn, leverages the CAPTCHA Image project from codeproject.com).
Implementation was very straightforward: I pulled down the source to .Text, pulled down the CAPTCHA Image code from CodeProject, and followed the write up on Chris Kunicki’s blog (actually done by Jesse Kunicki), implemented the changes, recompiled .Text, and …voila!
So I have CAPTCHA.. swell (and a full moon to you comment spammers).. but I’m not 100% on the implementation (no digs against Chris, Jesse, or Dave for any of the bits they provided – heck, it saved me a few hours of writing and debugging). It uses cookies, which will work fine now; however, some spammer might figure this out (particularly if they actually _read_ my blog) and simply grab the cookie value and plug in the number. One of the comments to the post by Chris discusses this issue, and offers a possible solution. The solution would work; however, I think a better [cleaner] approach is out there. I haven’t dedicated any brain cells to thinking about that better implementation – I’ll leave that to the subconscious and come back to it in a few days.
-Nino