11.21.2008
Register     Login      
 
DotNetNuke Platinum Benefactor

We're happy to show our support for the DotNetNuke platform and community by contributing back to the project at the highest "Platinum" level.
Testimonials
XMod let me create modules in no-time. With Xmod's easy to use interface and short development time i simply cannot find any reason to stay in visual studio.net for developing small modules.
Tomas (Snowcovered Rating 5/5 Snowflakes)
More XMod CAPTCHA ideas
Location: BlogsMidspot    
Posted by: midspot 6/26/2007 9:02 AM
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!

Permalink |  Trackback

Comments (4)   Add Comment
Re: More XMod CAPTCHA ideas    By midspot on 6/26/2007 3:19 PM
even another suggestion:<br><br>http://www.modernbluedesign.com/web-design-blog/fighting-spam-with-css/<br><br>

Buck's Tip: HELP! The Spam Jerks Have Taken Over My Form    By TrackBack on 6/27/2008 1:09 PM
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

Buck's Tip: HELP! The Spam Jerks Have Taken Over My Form    By TrackBack on 6/27/2008 1:25 PM
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

Buck's Tip: HELP! The Spam Jerks Have Taken Over My Form    By TrackBack on 6/27/2008 1:25 PM
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


Your name:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel 
       Terms Of Use      Privacy Statement      © 2004-2008 Kelly Ford