LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 03-09-2006, 09:29 AM   #1
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
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, 10:23 AM   #2
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,499
Blog Entries: 2

Rep: Reputation: 68
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, 10:49 AM   #3
DanTaylor
Member
 
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, 10:37 PM   #4
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
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-09-2006, 11:14 PM   #5
microsoft/linux
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-09-2006, 11:32 PM   #6
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
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.

http://en.wikipedia.org/wiki/Captcha

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-09-2006 at 11:34 PM.
 
  


Reply



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 11:18 AM
Google asking for visual confirmation now? vharishankar General 8 08-17-2005 08:07 PM
Streaming Web Server advice needed Tectron1 Linux - Software 1 06-15-2005 11:51 AM
shutdown - confirmation dialog needed in fluxbox linuxfond Linux - Newbie 0 07-09-2004 07:38 AM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 12:03 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 02:16 PM.

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