Kelly Thompson wrote: > I am trying to include a Captcha for our registration page, and was just > wonder if anyone on here, is familiar with a good Captcha mod for use > with TT. > > I am playing with the Authen::Captcha right now, but I'm having lot's of > problems...and noticed that on the CPAN forum for that mod there is a > question that hasn't been answered by the Author for over a year. > > Calling on the wisdom of giants!! = ) > > I'm fairly new to this...
I'd suggest the simple solution first and then moving up if you find you are still having troubles. I know everyone likes to use the "cool" graphical method, but I've found that a simple text query seems to work in keeping most/all bots out on many of our sites. Something along the tune of "Enter this text to continue: 'random text'" <input for random text>. This has the added benefit of being much easier to read than graphical captchas and works better with accessibility. This definitely won't work if your site is being targeted by an actual human that is willing to update a bot every time you change your question text, but for most dumb bots it will work. Make sure your question text is unique enough so that a bot can't easily detect it with a regular expression and that you are using a good name for your INPUT. (HINT: using something like "captcha" is not a good INPUT name. :P) As an additional bonus, you may be able to use javascript to prefill the input and just hide it from the user. (This of course assumes most bots aren't running javascript.) I don't actually use this method currently, but it's an idea for ya. I'e also found that some bots like to put random data in elements. You can use this against them by creating a hidden element with a certain known value that must exist when the user submits their form. If this doesn't work for you, you've lost maybe 10-20 minutes of time, so no big deal. -- Josh _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
