StackOverflow 验证码触发器

发布于 2024-07-18 03:21:21 字数 173 浏览 2 评论 0原文

通常,每当需要验证码时,我总是先将其呈现给用户,但 StackOverflow 方法要好得多,它只在它认为我可能是机器人时才向我显示验证码。

我有兴趣了解需求以及如何在我的项目中实现类似的系统。 哪些行为让我相信我是一个机器人? 采取此类行动是否有时间限制? 这样的系统是否需要任何特定的数据库设计?

Normally whenever a CAPTCHA might be needed I always present it to the user apriori but the StackOverflow approach is much better, it only shows me the CAPTCHA when it thinks I might be a bot.

I'm interesting in learning the requirements and how I could implement a similar system on my projects. What are the actions that make SO believe I'm a bot? Is there any time frame for doing such actions? Does such a system require any particular database design?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一袭水袖舞倾城 2024-07-25 03:21:21

我会记录操作之间的时间,如果低于(例如)10 秒,则需要验证码才能继续。

I would log time between actions, and if under (for example) 10 seconds then require a CAPTCHA to continue.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文