用于键盘混搭的正则表达式

发布于 2024-07-28 21:36:56 字数 408 浏览 3 评论 0原文

注册新帐户时,网络应用程序通常会要求回答“安全问题”,即狗的名字等。

我想浏览我们的数据库,查找用户只是敲击键盘而不是提供密码的情况。合法答案 - 这是滥用/欺诈帐户的高度指标。

“母亲的娘家姓?” lakdsjflkaj

关于我应该如何执行此操作有什么建议吗?

注意:我不仅仅在这些“安全问题答案”上使用正则表达式

“答案”可以是:

  1. 数据库中选择

  2. 使用 python 正则表达式根据需要进行多次分析

  3. 根据需要进行比较/修剪/评分

这是一个技术问题,而不是哲学问题 ;-)

谢谢!

When signing up for new accounts, web apps often ask for the answer to a 'security question', i.e. Dog's name, etc.

I'd like to go through our database and look for instances where users just mashed the keyboard instead of providing a legitimate answer - this is a high indicator of an abusive/fraudulent account.

"Mother's maiden name?"
lakdsjflkaj

Any suggestions as to how I should go about doing this?

Note: I'm not ONLY using regular expressions on these 'security question answers'

The 'answers' can be:

  1. Selected from a db using a few basic sql regexes

  2. Analyzed as many times as necessary using python regexes

  3. Compared/pruned/scored as needed

This is a technical question, not a philosophical one
;-)

Thanks!

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文