Checkbox as alternative to captcha?

别等时光非礼了梦想. 提交于 2019-12-04 08:23:51

One thing you can do with a checkbox is to make a honeypot. To do so, you would make a checkbox and hide it with CSS (because bots, as a rule, don't care about CSS). If the box is checked, then it's probably a bot.

If you are trying to keep bots from signing up, they will be able to check the checkbox pretty easy. the point of the captcha is that it takes human intelligence.

No, bots can check boxes, use a service such as http://www.google.com/recaptcha to easily make a bot-proof form.

Not at all, a checkbox is just like any other input, which bots manipulate.

As recommended above recaptcha is good. I also like Akismet, which handles this completely different.

user839701

Checkbox Captcha generated with client-side Javascript can be an interesting option.

Check out that article published by UX Movement: "Captchas vs. Spambots: Why the Checkbox Captcha Wins" http://uxmovement.com/forms/captchas-vs-spambots-why-the-checkbox-captcha-wins).

Luke H

This technique can work, but it is not too difficult to beat, given time and an interest in your specific site.

Using CSS and Javascript (which isn't completely accessible) to create the checkbox will defeat the more simplistic spambots. Also using a randomized name (which is verified server-side) for the checkbox POST/GET variable, and perhaps an image for the label (which creates more accessibility problems) will help make this more difficult.

In the end this should work fine, until someone takes the time to target your site or system specifically.

Edit The article linked to in this answer has good information.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!