We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
我认为最好的选择是结合一些现有的非侵入性技术和工具来处理实际的机器人/垃圾邮件检测。识别出可能的风险后,您可以提示访问者进行验证码验证,然后再继续。
我不知道有什么开箱即用的验证码解决方案可以根据某些标准自动显示。这可能是因为“机器人”或“垃圾邮件”的定义在很大程度上是主观的,并且总是在变化。此外,大多数现代机器人都可以毫无问题地将自己识别为普通的用户代理。
也就是说,如果您最终不得不“自己动手”,如果满足以下任一条件,我建议显示验证码:
希望这有帮助
I think your best bet would be to combine some of the non-obtrusive techniques and tools already available to handle the actual bot/spam detection. After you identify a possible risk, you can then prompt your visitor for a CAPTCHA validation before proceeding.
I do not know of an out-of-box CAPTCHA solution that will display itself based on certain criteria. This could be because what defines a 'bot' or 'spam' is largely subjective and is always changing. Furthermore, most modern bots have no problem identifying themselves as your garden-variety user agent.
That said, if you end up having to "roll your own", I would recommend showing the CAPTCHA if any of the following are true:
Hope this helps