| | #1 |
| Active Warrior Join Date: 2013
Posts: 70
Thanks: 20
Thanked 2 Times in 2 Posts
|
Is there a good way to protect a submission form from bots without using captcha?
|
| |
| | #2 |
| WordPress Corecontributor Join Date: 2014 Location: Alabama
Posts: 75
Thanks: 85
Thanked 25 Times in 21 Posts
|
There's a wordpress plugin called anti-captcha. It uses a nonce to validate the form. The concept is pretty simple. If you aren't using wordpress, you can take a look at the code and see how it works. Something like this also works: Stop spam without captcha - Stack Overflow This page is referenced in that link and is worth a look on its own: http://www.braemoor.co.uk/software/antispam.shtml |
| Last edited on 18th Nov 2014 at 07:27 AM. Reason: Add info | |
| |
| The Following User Says Thank You to BDazzler For This Useful Post: |
| | #3 |
| Warrior Member Join Date: 2014
Posts: 11
Thanks: 0
Thanked 3 Times in 3 Posts
|
What some sites do is generate a random variable on the submission page which is then "submitted" along with the other data. The backend checks if the random variable is correct and if not rejects the form. It's not foolproof but it's a deterrent.
|
| | |
| |
| The Following User Says Thank You to premiumwebtechnologies For This Useful Post: |
| | #4 |
| Gone For Good!!! Join Date: 2014
Posts: 60
Thanks: 0
Thanked 22 Times in 16 Posts
|
1234567890
|
| Now I remember why I left here many years ago! | |
| |
| | #5 |
| Never fear the unknown War Room Member Join Date: 2009 Location: Vancouver, BC
Posts: 225
Thanks: 39
Thanked 33 Times in 30 Posts
|
As has been mentioned, a good way of doing this is to include a hidden field that most bots will fill out and submit, then reject submissions with that field. Something else you can do in conjunction with this is to track the submission time, it's very rare to find a bot that adheres to realistic human input time. So if check if your form was submitted in under a second or two and reject these submissions. Both of these methods together will likely be as effective as the majority of captchas out there! There are some fun captchas though, I'm a personal fan of Motion Captcha. |
| |
| | #6 |
| Advanced Warrior War Room Member Join Date: 2008 Location: Texas, USA.
Posts: 577
Thanks: 54
Thanked 248 Times in 164 Posts
|
I include a randomly generated question on my contact form, e.g., "How much is eleven times twelve?" Aside from bots, this may also filter out some inordinately stupid humans. |
|
None are more hopelessly enslaved than those who falsely believe they are free. --Johann Wolfgang von Goethe, Elective Affinities (1809) | |
| |
| | #7 |
| Warrior Member War Room Member Join Date: 2011 Location: Germany
Posts: 24
Thanks: 0
Thanked 4 Times in 2 Posts
|
To cover such goal I do custom JS code which execute few expressions with screen and mouse - bots doesn't have them. And little of bots can execute JS at all.
|
| |
| | #8 | |
| www.deeptenger.com Registered Member |
The OP wanted to know how to handle this without a captcha. | |
| |
|
| Bookmarks |
| Tags |
| bots, captcha, form, protecting, submission |
| |