Click here to Skip to main content
15,894,291 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I am developing a registration form in that i want to place the CAPTCHA . i generate a random string but how to convert that into the image other wise how can i develop the CAPTCHA code or any reference. thank you
Posted

Hi
I use the captcha of the following link
CAPTCHA Image[^]

Try using it

Found the captcha control

A CAPTCHA Server Control for ASP.NET[^]


Regards
Aman Bhullar
 
Share this answer
 
v2

Hi,

I have already posted CAPTCHA generation tutorial in ASP.Net on codeproject, so it is very easy to integrate in your application.

Please visit following link: 

http://www.codeproject.com/KB/web-image/CAPTCHA_Image.aspx  

 

I hope this will help to resolve your issue.:)

Thanks & Regards,
Imdad
 
Share this answer
 

Basically, pick a font and draw each character to an image. You can do different transformations to make the image harder to process by a computer. For example, you can make each letter a different font, a different color, a different size, a different rotation, or with different characteristics (underlining, strikethrough, embossing, etc.). You could create a mask from a different random image (of, say, a zebra) so that you are only drawing the image where the letter would have been drawn. You can pick a random backgound for the picture and create an equation that uses pseudo-random parameters to fluctuate the brightness of the image behind the letters. You can place dots of random size and shape on the image. Try to choose transformations that humans can recognize but that computers would have difficulty processing.

Then, save the random string with that image and use them in combination later to determine if the user entered the correct text. Serve up the image to the user, then compare their guess to the saved random string.

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900