Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > General
User Name
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!


  Search this Thread
Old 03-09-2006, 10:29 AM   #1
Senior Member
Registered: Dec 2003
Posts: 3,161
Blog Entries: 4

Rep: Reputation: 136Reputation: 136
Technical advice needed: Visual confirmation on web forms

I need a little bit of advice on a Captcha (visual confirmation) solution which I created for my comment form on my CMS. I'm currently using random number in an image with random noise in the form of pixels. I'm also randomizing the background colour and the text colour each time the image is generated. However, the text itself is plain without distortions.

My question is how easily will OCR bots figure out this captcha? It seems a little weak since the text itself is not distorted. I'm not sure how to achieve such an effect, to be quite honest.

Any advice in the right direction will be of great help. By the way, I looked around google and found a couple of interesting captcha scripts, but I would prefer to use my own code if possible.
Old 03-09-2006, 11:23 AM   #2
Senior Member
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,402
Blog Entries: 1

Rep: Reputation: 64
I _think_ that using mixed case and mixed fonts are pretty effective to drop the precision of OCRs, and is it easier do to compared to distortion. This is just my personal option based on my experience with OCRs.
Old 03-09-2006, 11:49 AM   #3
Registered: Jan 2006
Distribution: Debian Sarge
Posts: 265

Rep: Reputation: 30
You can do searches on google for strange fonts that noone really uses - these should be weird enough to do the trick.
Old 03-09-2006, 11:37 PM   #4
Senior Member
Registered: Dec 2003
Posts: 3,161
Blog Entries: 4

Original Poster
Rep: Reputation: 136Reputation: 136
The problem of course is that it's an app I'm planning to release under GPL. Would it be possible to install a font from the web for this? What about license conditions?
Old 03-10-2006, 12:14 AM   #5
Senior Member
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
I supppose if you really wanted to, you could make your own font...I don't know where to point you for that though.

Also, if this app is opensource, if someone really wanted to get in, couldn't they look at the source and figure out a way in?
Old 03-10-2006, 12:32 AM   #6
Senior Member
Registered: Dec 2003
Posts: 3,161
Blog Entries: 4

Original Poster
Rep: Reputation: 136Reputation: 136
Actually visual confirmation is supposed to be independent of the code you use. Because it is similar to a one-way encryption, you cannot break an algorithm just by looking at the code which generates the image. At least that is the theory.

It's a kind of Turing test.

There are a few well designed captchas which are virtually unreadable by bots. Some of them are open source as well. But I just preferred to use my own before going to a more complex thing.

Last edited by vharishankar; 03-10-2006 at 12:34 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse technical information needed Crobat SUSE / openSUSE 1 12-06-2005 12:18 PM
Google asking for visual confirmation now? vharishankar General 8 08-17-2005 09:07 PM
Streaming Web Server advice needed Tectron1 Linux - Software 1 06-15-2005 12:51 PM
shutdown - confirmation dialog needed in fluxbox linuxfond Linux - Newbie 0 07-09-2004 08:38 AM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 01:03 PM > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 01:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration