473,473 Members | 1,978 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How do you create a form with a graphic security entry?

Ok, I don't know what they're called, but you know the form: The page
displays a "code", usually on a similar color background (dark gray),
and the text is all squiggly.

It's an attempt to foil the bots that go out and process forms. The
user has to type in the code they see, when the graphic itself should
be unreadable by character recognition engines.

So, how are the graphics generated, and how do you implement this?

Any links to resources would be appreciated. It's hard to find any
articles when I don't know what to call it!

Feb 23 '06 #1
2 1731
"Larry Bud" <la**********@yahoo.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...
Ok, I don't know what they're called, but you know the form: The page
displays a "code", usually on a similar color background (dark gray),
and the text is all squiggly.

It's an attempt to foil the bots that go out and process forms. The
user has to type in the code they see, when the graphic itself should
be unreadable by character recognition engines.

So, how are the graphics generated, and how do you implement this?

Any links to resources would be appreciated. It's hard to find any
articles when I don't know what to call it!

What is the word verification option?
http://help.blogger.com/bin/answer.py?answer=1203

How to Spoof-proof Your Logins
http://www.devx.com/dotnet/article/21308/
Feb 23 '06 #2

"Larry Bud" <la**********@yahoo.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...
Ok, I don't know what they're called, but you know the form: The page
displays a "code", usually on a similar color background (dark gray),
and the text is all squiggly.

It's an attempt to foil the bots that go out and process forms. The
user has to type in the code they see, when the graphic itself should
be unreadable by character recognition engines.

So, how are the graphics generated, and how do you implement this?

Any links to resources would be appreciated. It's hard to find any
articles when I don't know what to call it!


When I wrote one of these modules a few years back I used ASPImage to create the
graphic - My code created a random number which was then 'fused' (using
ASPImage) onto an existing background image and saving it under a different name
(I used the Session id for the graphic name).

Next the random number is encrypted using SHA256.

The registration form presents the graphic plus an entry field to re-type the
numbers and the encrypted random number is passed in the form via a hidden
field.

On the form processing page the user entered number is encrypted and that string
is evaluated against the value passed via the form. There are other various
checks carried out on the other data entered from the registration form.

YMMV

Lee


Feb 24 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: ratlhead | last post by:
Hey all, I've provided a form for a client of the company I work for that basically emails the form data to an email address. Only a couple of the many fields are required...nothing too fancy....
6
by: CJM | last post by:
Can somebody clarify if/how/when a simple form is submitted when the <Enter> key is pressed? As I understood it, if you have a form with a single submit button, if enter is pressed, the form...
116
by: Mike MacSween | last post by:
S**t for brains strikes again! Why did I do that? When I met the clients and at some point they vaguely asked whether eventually would it be possible to have some people who could read the data...
3
by: Orchid | last post by:
Hello All, Hope someone can help me on my required field problems. I have a form base on a table for users to input new Employees. There are 4 fields that cannot be Null when entering new...
3
by: Richard Skopal | last post by:
In .NET Windows forms I can create a metafile using this code: Graphics grph = aControl.CreateGraphics(); IntPtr ipHDC = grph.GetHdc(); Metafile mf = new Metafile(aImgFilePath, ipHDC,...
4
by: Nikolay Petrov | last post by:
Hi everyone! I am developing app, which should be used by users, which are members of different groups. These users and groups are stored in my SQL database and are custom for my application,...
6
by: clusardi2k | last post by:
Hello again, I have to go home and read up on Access. But, I have read else-where in this newsgroup that I can just save the password in the database under scrutiny. Wouldn't it be wasteful...
4
by: etuncer | last post by:
Hello All, I have Access 2003, and am trying to build a database for my small company. I want to be able to create a word document based on the data entered through a form. the real question is...
2
by: tshad | last post by:
I have an aspx window that is going to open a window (javascript) and display a graphic. I want to resize the window to the size of the graphic before it actually displays - how do I do that? ...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.