?
Solved

I would like to prevent spamming with random image

Posted on 2007-04-11
7
Medium Priority
?
159 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

 

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

Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. 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 : Go t…
Suggested Courses

765 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