Forum Moderators: coopster

Message Too Old, No Replies

captcha alternative for registeration

stop fake registerations

         

eltreno

12:53 pm on Apr 26, 2007 (gmt 0)

10+ Year Member



Hi,

I know captcha is the bee's knees but I wonder what you think of tis solution. (if you don't want to set up a captcha system for visually impaired accessability (among other) reasons, not even thinking of audio captcha)

Basically most sites let you register then send you a verification email to activate account.
The problem with this I see is it fils your databse with false registerations (which you can easily delete but why bother)

What are your thoughts on when somone comes to register,

1. give message to stop fake registeration you first need to verify your email address
2. send them an email with a token like so md5('theiremail@example.com' . 'secretword');
3. the link they click in simply has 2 paramaters
1. email='theiremail@example.com
2. token=(the md5string shown above)

therefor nothing needs to be saved in your databse, you verify the email with your secret word agaist the token sent in on url param

You save email and token in hidden form field and teake rest of registeration details for fisrt time.

the after submit check email, against token again to protect against for spoofing or even set email in a session and use that.

Either way you don't have to save data in database and no one can register without a valid email address and some manual labour

Can anyone see a way this could be spoofed by spammers?

Problems with this is you would have to restrict ip address per hour to stop spamming (I know captcha is better) but is this a reasonlable easy to implement a solution?

Also anyone got any good human readable questions/ideas that could be used in first instance when people first add their email address for confirmation email to try stop spamming.

I just don't like the idea of taking false reg data

Cheers
Trent

eelixduppy

9:19 pm on Apr 26, 2007 (gmt 0)



Your solution seems like it would work just fine; it's actually a pretty good idea. You might want to have to require cookies to be enabled to stop many of the spammers, as well. Overall, your solution should work.

For visually impaired people, I know there is a different form of captcha that uses images of objects instead of words for use in the verification process. The user only selects the object displayed from a dropdown list--it works quite nicely.

Anyway, I wish you success in implementing your solution. I'm sure you will find that it will suit your needs. :)

Miata1476

3:40 am on Apr 27, 2007 (gmt 0)

10+ Year Member



What about saving the email and token in a separate table from the one that you use for your verified users. That way you don't have to worry about spammers filling up rows of the verified table.

Or, you could take the registration data and put that in a table, I'll call it pending. Then require a verification email. Upon verification, take the information from the pending table and put it in the verified table. if you put the current date in the pending table and you could safely and easily remove anything over 30 or so days old every so often.

Just giving you some ideas. However you do it, I am sure you will find something that works well for what you want to do.

gusak

6:38 am on Apr 27, 2007 (gmt 0)

10+ Year Member



The solution you proposing solve only one thing: e-mail verification.
captcha solving something else, it's verify human browse your web site.
you can probably do other things like have a big DB with questions and answers that in most cases only human can answer. but the DB should be unique.
Or show random picture from big DB and ask if it's
sad/happy picture.
In the bottom line you need things that easy to human but hard to computers to understand.

eltreno

2:15 pm on Apr 27, 2007 (gmt 0)

10+ Year Member



Thanks all

I think one solution for small sites would be take Miata1476 solution of adding email and token in seperate table (this way no-one can constantly spam one poor unsuspecting email address-ee), then remove the email from temp table on registeration, and make emails unique on your site - take breath.

I wonder however (contradicting myself), if it's probably safer to take all reg details on first step of registeration, as people might not bother to register if they think it will be a hassel to register by verifying email etc.
But on the flipside of that if someone can't be bothered registering properly on a site, then for my purposes, It their loss ;), but I woulbn't argue that with a sales team!

In responce to gusak:
Can I not argue (for sake of learning) the point that my original solution will verify humans to a degree that only people who check their emails can actually register, or is it easy enough to write a system that will take incoming emails, read a link, post to it with the token and woola, token bypassed?
I'm very curious on this as I just though about it..leaving captch as one of the only true ways against robots

I like that sad/happy picture idea as well :)

Cheers

gusak

1:24 pm on Apr 28, 2007 (gmt 0)

10+ Year Member



Hi,
It's easy to create this sort of application (will check the mail, parse the content, and do whatever regular visitor do)