Captcha的替代品? [英] Alternative to Captcha?

查看:117
本文介绍了Captcha的替代品?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站上有一个简单的注册表单(名称,电子邮件,密码),我希望实现某种反僵尸/垃圾邮件保护,Captcha似乎是一个非常漫长的方式,加上他们真的很烦我在网站上看到他们。有没有人可以采用另一种方法来防范轻量级垃圾邮件并简单集成?

I have a simple reg form (Name, Email, Password) on my website and im looking to implement some sort of anti-bot/spam protection, Captcha seems like a very long winded way, plus they really annoy me when I see them on sites. Has anybody an alternative method to protecting against spam which is lightweight and simply integrated?

推荐答案

另一种方法是使用隐藏的表单字段作为机器人的蜜罐。可以使用Javascript中的适当值填充此字段,也可以将其留空。无论哪种方式,如果该值不是您所期望的,那么您可以将提交视为垃圾邮件。这不会阻止专门定位到您网站的漫游器,但它会停止大多数只看到表单并将其填满的常见垃圾邮件机器人。

One alternative is to use a hidden form field as a honeypot for bots. This field can be filled using an appropriate value from Javascript, or it can just be left blank. Either way, if the value isn't what you expect, then you can treat the submission as spam. This won't stop bots that are specifically targeting your site, but it will stop most of the common spam bots that just see a form and fill it out.

这篇关于Captcha的替代品?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆