DEV Community


Discussion on: Do password rules impact security?

bgadrian profile image
Adrian B.G.

Yes, I think the theory is correct, but the practice is different.

You presume that the passwords are random, so the avg number of guesses is close to the median. In reality people will use same common passwords and the guesses will be sorted by popularity. By enforcing these rules I suppose it is a forced way to enlarge the set of common passwords.

I personally hate these rules, because I cannot use the most secure passwords and easy to remember (which are a long set of common words) :(.

domysee profile image
Dominik Weber Author

You're right, that's very similar to what I've realized from that comment.

I somehow never thought of passwords being sorted by popularity, just going through them in order.