TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Why not show password rules during failed password attempt?

16 点作者 mukgupta大约 10 年前
Most of the times my password is same as/a variant of a generic password that I keep on most of the sites. Now usually what happens is that some website has some specific rule for setting passwords like it should be alphanumeric, have one Special character, or a capitalized character etc. Due to this, I end up resetting my password which wouldn't be needed if I was aware of the password rules. Wouldn't it be simply better if websites can simply tell you the password rules in case of failed password attempt. I don't see any security issue with that. Do other HNers face similar problem?

4 条评论

emerongi大约 10 年前
There is no security issue with that. This "feature" would definitely be useful (and in a way needed), even though I use a password manager anyways.
mak4athp大约 10 年前
1. Don&#x27;t use the same password everywhere.<p>2. Use a password manager like LastPass or 1Password.<p>Regardless of the incidental security risk of showing those rules, the site shouldn&#x27;t facilitate your irresponsibility when it comes to password management.
lucasmullens大约 10 年前
On a similar note, why do we have to use the error message &quot;Wrong username or password&quot;? Can&#x27;t any hacker just try to make an account with a username to see if it exists?
评论 #9454858 未加载
评论 #9454596 未加载
评论 #9454802 未加载
kenjackson大约 10 年前
I agree. There shouldn&#x27;t be any security issue with that (unless your password rule is, &quot;no more than 4 digits&quot;, even then).<p>This is one of those things that I think should culturally change. Maybe it can start with YC companies?