Search the Blog Minimize
spacer
DNNDev Blogs: Most recent blog entries Minimize

More XMod CAPTCHA ideas

Jun 26

Written by:
6/26/2007 9:02 AM  RssIcon

Kelly touched on the subject of a poor man's CAPTCHA system in XMod. His ideas were spot on for great deterrents, but I wanted to list a few more options that may also work, depending on your user base.

Kelly touched on the subject of a poor man's CAPTCHA system in XMod. His ideas were spot on for great deterrents, but I wanted to list a few more options that may also work, depending on your user base.
 
The first option would be to create a regular expression that would validate primary colors or domestic auto manufacturers. Something like (red|yellow|blue) or (Dodge|Chevy|Ford). You would then have a text box as the last entry on the form asking the appropriate question with data validation turned on to use the regular expression you created. You could use any type of listing like these that may appeal to your site user base (ie: Car manufacturers on a car site).
 
I have seen some site owners use a simple question such as "Are you a human?" with data validation to only accept "yes" answers. Another way to trip up bots is to Ask a question such as "Which one of these items is a mammal (goat, dandelion, horseshoe)?" teamed with data validation to only accept "goat".
 
Another method that may work in certain scenarios is by checking the user agent. (Granted that you are ok limiting your site to the major browsers...) Most bots will show up in your referrer log differently than normal browsers. You could have a text box populated via an xmod constant (User Agent) through the use of a variable (I think this is possible in current versions of xmod) and then have a regular expression check for and allow common agents [0-9a-zA-Z_]*(gecko|IE|mozilla|explorer|firefox)[0-9a-zA-Z_]*
 
You could also do something similar with check the URL referrer. (This would only apply if the bot was hitting the form entry page dead on, which more than likely it would be, and then the referrer should be blank.) The regular expression to check that the referrer is from your site would be something like this: http://([w*.*yourdomain.com/*]+)
 
Some of these expressions listed above may need tweaking, I just threw them out there off the top of my head...
 
Happy XModding!

Tags:
Categories:
Location: Blogs Parent Separator Midspot

8 comment(s) so far...


Re: More XMod CAPTCHA ideas

even another suggestion:

http://www.modernbluedesign.com/web-design-blog/fighting-spam-with-css/

By midspot on   6/26/2007 3:19 PM

Re: More XMod CAPTCHA ideas

There was a good suggestion posted in the forums, here: http://dnndev.com/Forums/tabid/215/forumid/1/tpage/1/view/topic/postid/11708/Default.aspx#15123

By KurtWC on   6/24/2009 7:39 AM

Buck's Tip: HELP! The Spam Jerks Have Taken Over My Form

I was recently asked the question, "Buck, I have been getting a ton of spam to my emails via my contact forms on some of my sites. Any suggestions for eliminating this problem? I do not have my email ...
# Buck Anderson

By TrackBack on   6/27/2008 1:09 PM

Buck's Tip: HELP! The Spam Jerks Have Taken Over My Form

I was recently asked the question, "Buck, I have been getting a ton of spam to my emails via my contact forms on some of my sites. Any suggestions for eliminating this problem? I do not have my email ...
# Buck Anderson

By TrackBack on   6/27/2008 1:25 PM

Buck's Tip: HELP! The Spam Jerks Have Taken Over My Form

I was recently asked the question, "Buck, I have been getting a ton of spam to my emails via my contact forms on some of my sites. Any suggestions for eliminating this problem? I do not have my email ...
# Buck Anderson

By TrackBack on   6/27/2008 1:25 PM

Re: More XMod CAPTCHA ideas

can u pls tell me the data captche project website so that i can start working from my home.

By subhan on   6/24/2009 7:38 AM
Gravatar

Re: More XMod CAPTCHA ideas

I had the same issue as Jon when I tried creating a dynamic captcha question. I removed it and all the events worked again. Any luck on finding out what is causing this

By www.backgammonfever.com on   4/21/2010 7:40 AM
Gravatar

Re: More XMod CAPTCHA ideas

plus grands bonus du casino
I have a form with 2 columns of fields.
I would like to be able to tab down one column and then the other. Is this possible?
Thanks in advance

By plus grands bonus du casino on   4/21/2010 7:40 AM

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
CAPTCHA image
Enter the code shown above in the box below
Add Comment   Cancel 
spacer
dummy