Steven Erat's Blog
 
 
Viewing By Entry
 
 

TalkingTree  Now Using Lyla Captcha

 

Thanks to Peter Farrell for creating the free and open source Lyla Captcha ColdFusion component to help stop comment spam, and thanks to Brian Rinaldi for instructions and code appropriate for usage in BlogCFC.

Comments now require the guest to type the text rendered in the image into a text field for validation. Soon I will add this to the Contact Me page as well.

To simplify the task for the guest, I create an array of known strings such as company names, well known terms, or other recognizable words, then select one random array item to be passed to the createCaptchaHashReference(String s) method. Yes, this partially weakens Captcha, but I think it should still be very effective.

 


Comments

Glad I could be of help. Looks like it is working well :)


Probably not related, but if you submit a form without the captcha (or wrong captcha), it posts to itslef and bug out with your name ... I entered name, email, and url ... and it seems like there's a problem with quotes perhaps ...


Rob, thanks for the heads up. That was an unrelated bug caused by how I implemented the Web Site comment field, a feature that was not in the BlogCFC 4.0 Beta 1 version I'm using.


I kinda like that idea. sometimes the difference between O and 0 or 8 or B etc. can be frustrating. at least this way you can use your Human Context Analysis Engine to resolve any ambiguity


Glad that like the project Steven! Yeah, you are right that the array of possible texts reduces the effectiveness - however, on low traffic sites (I know we've discussed your trafic in the past ;-) this should be fine. You might have to expand your exemplar set in the future to fight off some spammers.

Michael, you're right the difference between 0/O, 8/B or l/I (that's L and i) can be frustrating. By design however, most captchas include those characters to confuse OCR software and other techniques. By definition, supposedly "good" captchas are usually only 85-90% solvable -- the rest of the times bring in that ambiguity you speak of. But, in the end -- you can control what goes into the Lyla and I'll be implementing a method to create your own set for random character generation.


 

 

Calendar

 
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          

Search This Site

 
This is an exact search only

About This Site

 
I live west of Boston and work as a Software Engineer with ColdFusion and Flex, specializing in Linux. Recently I graduated in Professional Digital Photography from CDIA.
More about me

Recent Entries

 
Recent Tweets for Fri Oct 2, ..
Recent Tweets for Fri Oct 2, ..

Recent Comments

 
Posted By Jonas:
Hey, appreciate the tutorial. I think some more expensive dSLRs allow autobracketing that yields up to 5 frames. My hands tremble a lot, for some u ...

Posted By Becky the Pregnant:
I am a pregnant woman...I am in love with their salad dressing!!! In fact since my boyfriend won't travel from Lunenburg to Parkhill to get the most s ...

Posted By Violet:
Wow,you don't even imagine how glad I am that I found this article. The thing is that tomorrow I'm gonna deal with this problem. I postponed it for se ...

recently played

 
Refugee
by Tom Petty & The Heartbreakers
on Greatest Hits
Greatest Hits, Tom Petty & The Heartbreakers

now playing, a plug-in for itunes

Categories

 
RSS Adobe (33)
RSS Bicycling (9)
RSS Blogging (39)
RSS Books (13)
RSS Breeze (13)
RSS CFMX Podcasts (10)
RSS ColdFusion (423)
RSS Computer Technology (51)
RSS Events (25)
RSS Flash (3)
RSS Flex (20)
RSS Gadgets (10)
RSS HiTech Industry (16)
RSS Java (25)
RSS Learning (57)
RSS Linux (70)
RSS Mac OS X (22)
RSS Macromedia (27)
RSS Meetup (35)
RSS New England (62)
RSS Odds & Ends (25)
RSS Outdoors (32)
RSS Personal (29)
RSS Photography (110)
RSS Photoshop (29)
RSS Podcasts (18)
RSS Rants (19)
RSS Restaurants (8)
RSS Science (34)
RSS Spain (16)
RSS Travel (42)
RSS Twitter (10)
RSS Video (20)
RSS Webcam (3)
RSS Writing (10)

Blogs I Read

 
Terrence Ryan
Ben Forta
Ray Camden
Kinky Solutions
Dan Vega
Gary Gilbert
Simeon Bateman
Red Hat Blogs
O'Reilly Digital Media
O'Reilly Radar
John Nack
The Strobist
Scott Kelby
Matt Kloskowski
Joe McNally
Digital Photography School
Engadget
Science Blog

RSS

 


Add to Google
Add to My Yahoo!

Aggregated By

 


Consumed By Feed-Squirrel.com
Aggregated by ColdFusionBlogger.org

Credits and Stuff

 
BlogCFC - Free ColdFusion Powered Blog Software
CJM Group - ColdFusion Website Hosting


 
 
blog | photos | flickr | referers | webcam | stats | about | contact
 
Copyright © 2009 Steven Erat. All rights reserved.
This is a personal weblog. The opinions expressed here represent my own and not those of my employer