reCAPTCHA
Moderator: General Moderators
-
anthony88guy
- Forum Contributor
- Posts: 246
- Joined: Thu Jan 20, 2005 8:22 pm
reCAPTCHA
Usually before I go to sleep I take a quick look at what CNN has to offer.
Well tonight I found something very interesting. Call reCAPTCHA.
Just a quick "about" reCAPTCHA:
When books are being digitized some of the words cannot be successfully converted. reCAPTCHA is an attempt to use CAPTCHA's as a means of converting hard to read words. It does this by asking for two words, one word is the control (known) and the other is unknown. If the known word is correctly inputted then the system assumed he/she has also entered the other word correctly... with enough inputs we can then assume what the word is.
Official reCAPTCHA Website
CNN Story Link
Well tonight I found something very interesting. Call reCAPTCHA.
Just a quick "about" reCAPTCHA:
When books are being digitized some of the words cannot be successfully converted. reCAPTCHA is an attempt to use CAPTCHA's as a means of converting hard to read words. It does this by asking for two words, one word is the control (known) and the other is unknown. If the known word is correctly inputted then the system assumed he/she has also entered the other word correctly... with enough inputs we can then assume what the word is.
Official reCAPTCHA Website
CNN Story Link
- jayshields
- DevNet Resident
- Posts: 1912
- Joined: Mon Aug 22, 2005 12:11 pm
- Location: Leeds/Manchester, England
No it's nothing like that. Did you read the article?djot wrote:this is pretty much the same as "please enter 1+4" captchas?
It uses words from old books which are currently being scanned and converted into digital format by an OCR device. It shows you one word which the OCR correctly read, and one word which it cannot make sense of. The user types both words into the input field. If the word already known matches then it's presumed that you typed the other word correctly too. So everytime a CAPTCHA is solved you are helping convert old books into digital format.
I wouldn't say it's any better at stopping bots than a regular CAPTCHA but it's certainly a good idea.
If we're talking about the best bot prevention then I really like that KittenAuth system.
-
The incorrect "word" from my quiz above - devs networks forums - would then be recognized by clever people like us two and we would all know then, that the correct word (which submits the form successfully) is DevNetwork Forums.
right?
And the idea/technique is then pretty much the same as "please enter 1+4:"
djot
-
Yes, in the meaning of a captcha to protect a form.Did you read the article?
The incorrect "word" from my quiz above - devs networks forums - would then be recognized by clever people like us two and we would all know then, that the correct word (which submits the form successfully) is DevNetwork Forums.
right?
And the idea/technique is then pretty much the same as "please enter 1+4:"
djot
-
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
Not quite.
It sounds to me like they give you a captcha, and only one of the words is actually checked. The other is stored away in a database.
They don't actually just make up words and ask you to "make sense out of it." They give you the picture of the word from the book, and everyone types in what they see. Then, they check all of the answers and the answer that a good majority of people typed in is assumed to be the correct word.
Then, the word is put into the eBook, or whatever. But that particular word means nothing to the captcha and authorization itself, just using the captcha in order to get some work done.
It sounds to me like they give you a captcha, and only one of the words is actually checked. The other is stored away in a database.
They don't actually just make up words and ask you to "make sense out of it." They give you the picture of the word from the book, and everyone types in what they see. Then, they check all of the answers and the answer that a good majority of people typed in is assumed to be the correct word.
Then, the word is put into the eBook, or whatever. But that particular word means nothing to the captcha and authorization itself, just using the captcha in order to get some work done.
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
-
d3ad1ysp0rk
- Forum Donator
- Posts: 1661
- Joined: Mon Oct 20, 2003 8:31 pm
- Location: Maine, USA
- DaveTheAve
- Forum Contributor
- Posts: 385
- Joined: Tue Oct 03, 2006 2:25 pm
- Location: 127.0.0.1
- Contact:
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
Maybe they didn't understand how !important it was.DaveTheAve wrote:Well, I tried implementing this amazing Captcha (Well, at-least better than my current one) but I can't seem to get it OUT of control of my current CSS. I mean, come-on, why doesn't reCaptcha come with it's own CSS that you can use to over-ride your current CSS in-cases of being inherented.
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
-
d3ad1ysp0rk
- Forum Donator
- Posts: 1661
- Joined: Mon Oct 20, 2003 8:31 pm
- Location: Maine, USA
I've had no problems with it.. care to show an example page? The author of the software has been EXTREMELY helpful, and instead of complaining on here and not using it, maybe you should ask him about it? He added a feature in over the weekend for the company I work for..DaveTheAve wrote:Well, I tried implementing this amazing Captcha (Well, at-least better than my current one) but I can't seem to get it OUT of control of my current CSS. I mean, come-on, why doesn't reCaptcha come with it's own CSS that you can use to over-ride your current CSS in-cases of being inherented.
- DaveTheAve
- Forum Contributor
- Posts: 385
- Joined: Tue Oct 03, 2006 2:25 pm
- Location: 127.0.0.1
- Contact:
Well i don't have an example but I have this CSS hack I used to fix it (well about 99% fix it):
However, I really really need help with the php library reCaptcha came with; basically, every global statement it calls comes up null on my system. BTW, I never edited recaptchalib.php.
Code: Select all
/* Fix the ReCaptcha's Style */
div#recaptcha {
width: 318px;
margin: 0 auto 0 auto;
}
div#recaptcha * {
margin: 0px !important;
padding: 0 !important;
border: 0 !important;
font-family: helvetica,sans-serif !important;
font-size: 8pt !important;
color: black !important;
position: static !important;
top: auto !important;
left: auto !important;
right: auto !important;
bottom: auto !important;
}
div#recaptcha input {
width: 100% !important;
height: 20px !important;
position: relative !important;
border: 1px solid #C6A056 !important;
margin-left: 15px !important;
}
div#recaptcha label {
width: 100%;
text-align: center;
}
Last edited by DaveTheAve on Sun Jun 10, 2007 6:33 pm, edited 1 time in total.
- DaveTheAve
- Forum Contributor
- Posts: 385
- Joined: Tue Oct 03, 2006 2:25 pm
- Location: 127.0.0.1
- Contact:
Alrightly, this was an EXTREMELY BASIC AND EASY FIX!!!!
If your getting errors similar to mine: Every global called in recaptchalib.php was returning null. The problem is that your server is set up correctly (yes correctly... well at least secure when it comes to auto-assigning globals)...
To fix change the first three lines of PHP in recaptchalib.php:
and reprogram them to set as globals on the more secure system by replacing them with:
Now before you knock me and this methoud try it. I know it seems simple, stupid and like it won't work; Trust me it did for me.
If your getting errors similar to mine: Every global called in recaptchalib.php was returning null. The problem is that your server is set up correctly (yes correctly... well at least secure when it comes to auto-assigning globals)...
To fix change the first three lines of PHP in recaptchalib.php:
Code: Select all
$recaptcha_api_server = 'http://api.recaptcha.net';
$recaptcha_api_secure_server = 'https://api-secure.recaptcha.net';
$recaptcha_verify_server = 'api-verify.recaptcha.net';Code: Select all
$GLOBALS['recaptcha_api_server'] = 'http://api.recaptcha.net';
$GLOBALS['recaptcha_api_secure_server'] = 'https://api-secure.recaptcha.net';
$GLOBALS['recaptcha_verify_server'] = 'api-verify.recaptcha.net';Now before you knock me and this methoud try it. I know it seems simple, stupid and like it won't work; Trust me it did for me.
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK