?
Solved

I would like to prevent spamming with random image

Posted on 2007-04-11
7
Medium Priority
?
162 Views
Last Modified: 2013-12-24
Hi, I would like to prevent spamming on my coldfusion form. I see that some sites like Yahoo.com, before a user can click submit to create an account, they have to enter some random text from a randomly generated image before clicking.

Does coldfusion have some api, tutorial, or technique that I can create this random image, any ideas ?

Thank you so much,
noijet
0
Comment
Question by:noijet
  • 4
  • 3
7 Comments
 
LVL 8

Expert Comment

by:pmascari
ID: 18890398
Those are called CAPTCHAS.  Here are a couple of links to some CFCs built for them:

http://www.alagad.com/index.cfm/name-captcha
http://www.compoundtheory.com/?action=captcha.index
0
 

Author Comment

by:noijet
ID: 18890716
Hi pmascari, thanks so much for your reply!  I will try to use the second link 'compoundtheory.com' since it is free!  My remaining question is:
So now I guess the next step for me is to create a random text --> store text to a session var -->  use the captcha.cfc to generate a image with that text.  Now on the form, user would enter in the text --> In my next cf page, I compare entered user text and the text in my session var --> If there is a match, success --> If no match, I return failure.  
Is this a good way to go about this?

Thanks so much,
noijet
0
 
LVL 8

Expert Comment

by:pmascari
ID: 18890759
Sounds good.  There should be no way a spam bot could find out the var stored in your session.  You may want to build in a feature to allow the user to "switch" the image in case they are having trouble reading it, themselves.
0
Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

 

Author Comment

by:noijet
ID: 18891169
Hi pmascari, I'm currently going to try out the compoundtheory.com, I'll get right back to you once I have a sample for my site.

Thanks so much,
noijet
0
 

Author Comment

by:noijet
ID: 18924835
Hi pmascari, I finally got this code put into my app, it works so far!, thank you, before I close this app, I see that some sites, use a audio button to "say" the captcha, do you know any samples about this?

Thanks so much,
noijet
0
 
LVL 8

Accepted Solution

by:
pmascari earned 500 total points
ID: 18925110
Sorry, I don't know any samples of this.  My thinking is that would be a feature of the CAPTCHAs themselves.  For instance, I found this article about Google CAPTCHAs:

http://www.accessibilityblog.com/2006/04/11/google-releases-audio-captcha/

Sorry I couldn't be more help with that.
0
 

Author Comment

by:noijet
ID: 18925637
Hi pmascari, you have been super help already, thanks again for your help !

noijet
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
Suggested Courses

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question