Microservices Security Questions - 3

Question

Do you have a password reminder feature? Could it be used to enumerate user accounts?

Answer

We can't assume the user to remember the password forever, but sometimes we do need to help people to recall the password to avoid send reset password email. A password hint seems a not bad choice, user set up some texts and could remind the password if the text describes something, like when you log in to Windows. But there will be a security risk, we must consider the time to show the hint to end user, if we only put a button in the login form, then let user fills the email address and click that button, then the hint will be displayed and will help hacker to guess the password. It could be worse if the hacker prepares a list of email, and lots of hints will be collected.

Most time we don't recommend to have a password reminder, if your reset password progress is easy and safe, there is no reason to keep it (consider many users can't tell the difference between password hint and password). Anyway, if you have a password reminder function, to prevent enumeration attack is important, a captcha or the other behavior-based authentication technology could help you to protect reboot and script, but that will only reduce the risk.

Reference

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,448评论 0 10
  • 我做梦了 在梦中 天是白色的 地是白色的 还有外婆和母亲 都是白色的, 仿佛晴天日光 即使我翻山越岭 重重历险 世...
    函恩阅读 184评论 0 2
  • 因为在命运面前,没有别的抓得住的东西。 学习这件事,很多时候,真的挺没用的。 一个人这辈子能混成什么样,谁来定? ...
    七斤皮卡阅读 921评论 0 1
  • Mac中的PDF文件怎么才能变小一点?其实在PDF Expert for Mac这款PDF阅读编辑器就可以帮助我们...
    小皇可可阅读 11,635评论 0 0