My bank limits my password to 8. When I questioned while creating my account, they asked me to visit the login page - in the login page you are asked for the answer of the security question and also presented with 8 input boxes - one for each of of the password characters - but having to enter only randomly selected few from the password ( for preventing key loggers from getting password, of course ). This seemed lik…
What technical reasons are there to have low maximum password lengths?
31–40 of 128 posts
Re: What technical reasons are there to have low maximum password lengths?
#32Earlier quoted context omitted.
Because the developer is storing passwords in plaintext, and he wants to save database space. This seem far fetched, not sure what thought process would lead anyone to come to this conclusion. Even if you have a million users, you have ~8MB worth of passwords. I'd imagine even developers who are not competent in cryptography realise that.
If you allow truly unlimited -length passwords, malicious users can set gigabyte-long passwords. Whether you hash them or just store them, that's a DoS waiting to happen with every login. So, there actually is a reasonable limit for the length of passwords, email addresses, and most other user-editable fields that end up either being hashed, or shoved through to the database. That limit is just probably somewhere aro…
Re: What technical reasons are there to have low maximum password lengths?
#33Earlier quoted context omitted.
If you allow truly unlimited -length passwords, malicious users can set gigabyte-long passwords. Whether you hash them or just store them, that's a DoS waiting to happen with every login. So, there actually is a reasonable limit for the length of passwords, email addresses, and most other user-editable fields that end up either being hashed, or shoved through to the database. That limit is just probably somewhere aro…
While this is true, hashes use a set number of characters. For example, SHA-256 hashes can be stored in 32-character hex strings. In that sense, there's no point in allowing for a variable length field for password hashes.
Re: What technical reasons are there to have low maximum password lengths?
#34It's amazing how all the comments so far have entirely missed that it's the top answer that was really submitted, not the question.
Re: What technical reasons are there to have low maximum password lengths?
#35Earlier quoted context omitted.
While this is true, hashes use a set number of characters. For example, SHA-256 hashes can be stored in 32-character hex strings. In that sense, there's no point in allowing for a variable length field for password hashes.
It's not only dealing with password length. You could DoS the server by tying up all threads in processing the upload. Uploading 4GB isn't instantaneous.
Re: What technical reasons are there to have low maximum password lengths?
#36Earlier quoted context omitted.
While this is true, hashes use a set number of characters. For example, SHA-256 hashes can be stored in 32-character hex strings. In that sense, there's no point in allowing for a variable length field for password hashes.
It's not only dealing with password length. You could DoS the server by tying up all threads in processing the upload. Uploading 4GB isn't instantaneous.
Re: What technical reasons are there to have low maximum password lengths?
#37Re: What technical reasons are there to have low maximum password lengths?
#38Re: What technical reasons are there to have low maximum password lengths?
#39It's amazing how all the comments so far have entirely missed that it's the top answer that was really submitted, not the question.
Re: What technical reasons are there to have low maximum password lengths?
#40Earlier quoted context omitted.
It's not only dealing with password length. You could DoS the server by tying up all threads in processing the upload. Uploading 4GB isn't instantaneous.
That's why the client should perform the hash and only submit the result.