| General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-09-2006, 09:29 AM
|
#1
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Rep: 
|
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.
|
|
|
|
03-09-2006, 10:23 AM
|
#2
|
|
Senior Member
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,392
Rep:
|
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.
|
|
|
|
03-09-2006, 10:49 AM
|
#3
|
|
Member
Registered: Jan 2006
Distribution: Debian Sarge
Posts: 265
Rep:
|
You can do searches on google for strange fonts that noone really uses - these should be weird enough to do the trick.
|
|
|
|
03-09-2006, 10:37 PM
|
#4
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Original Poster
Rep: 
|
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?
|
|
|
|
03-09-2006, 11:14 PM
|
#5
|
|
Senior Member
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Rep:
|
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?
|
|
|
|
03-09-2006, 11:32 PM
|
#6
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Original Poster
Rep: 
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:17 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|