Solved

I would like to prevent spamming with random image

Posted on 2007-04-11
7
156 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

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 125 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

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

Hi, Even though I have created this Tutorial on My personal Blog, Some people might not able to find my website, So here i am posting it again Today, from the topic it is very clear that i will be showing you here the very basic usage of how we …
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 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 exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …

830 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