TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

16 pointsby mukguptaabout 10 years ago
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 comments

emerongiabout 10 years ago
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.
mak4athpabout 10 years ago
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.
lucasmullensabout 10 years ago
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 未加载
kenjacksonabout 10 years ago
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?