Re:Ask HN: How to stop bots/spammers in their tracks on an e...
by issa on Thursday August 28, 2014 @10:24PM
(#8240866)
I've had good success with adding a text field to forms that must remain blank. Hide it from humans with CSS and then let the form fail silently if there is content on that field upon submission.
[ Parent
| on HN ]
Re:Ask HN: How to stop bots/spammers in their tracks on an e...
by andymurd on Thursday August 28, 2014 @10:36PM
(#8240891)
I second this.
I've also noticed that bots always fill fields based upon their name attribute, so call your fields something other than "email" and "username" and reject submissions where fld9624-v2 is not a valid email address.
Re:Ask HN: How to stop bots/spammers in their tracks on an e...
by jrod2121 on Thursday August 28, 2014 @10:57PM
(#8240933)
Isn't this basically the honeypot captcha or invisble captcha method? I don't think it would work as well since we our forms are submitted via ajax request, but I could be mistaken?
Re:Ask HN: How to stop bots/spammers in their tracks on an e...
by andymurd on Friday August 29, 2014 @12:16AM
(#8241092)
It's my understanding that the spammers parse the form's HTML to determine which fields must be submitted and the URL to which they must be POSTed.
Remember, you don't need a perfect solution to this. When you and another person are being chased by a tiger, you don't need to outrun the tiger, just outrun the other guy.