r/programming • • Mar 10 '17

Password Rules Are Bullshit

https://blog.codinghorror.com/password-rules-are-bullshit/
7.7k Upvotes

1.4k comments sorted by

View all comments

2

u/andrewsmd87 Mar 10 '17

I've been trying to get the password rules at our company changed for a while now. I'm a fan of something that is just really long, like 20 or more characters, that NEVER expires.

With a little training, like telling someone to just write a short sentence, you're secure, and they can make it somewhat obscure, because they'll never have to change it.

5

u/[deleted] Mar 10 '17

The reason to have an expiration is on the off chance someone does get their password they won't have access to the account 3 months later.

That's the idea anyway, instead you have people writing their passwords on sticky notes and publicizing them.

2

u/andrewsmd87 Mar 10 '17

The reason to have an expiration is on the off chance someone does get their password they won't have access to the account 3 months later.

I guess I feel that if someone shouldn't have access, their account should be disabled, you shouldn't be relying on things just expiring.

5

u/[deleted] Mar 10 '17

In a perfect world only one person knows the password to their account. But we live in an imperfect world, breaches happen.

If your CEO's password is discovered and 1 other person is checking it, it's better for your CEO's account to be available to someone else for only 90 days than for it to be available forever.

3

u/Dave3of5 Mar 10 '17

I also heard some mumbo jumbo about if it expires then that reduces the amount of time an attacker can use the compromised account. It doesn't make any sense because a) 3 months is enough time to cause serious irreparable damage. and b) the attacker can maybe change the password.

2

u/andrewsmd87 Mar 10 '17

Yea, that argument doesn't really hold up IMO. Also, I think the security risks that are introduced by forcing people to change them all the time (writing them down on sticky notes, doing asdf1234, 1234asdf, etc.) are far worse than "locking" a malicious user out after a set period of time.

If someone's account is compromised, a stupid "change your PW every 90 days" rules isn't going to do much in terms of mitigation on that, and if you don't catch that someone has been compromised for that long, you're not doing your job right.

2

u/Dave3of5 Mar 10 '17

Exactly.

1

u/BlackDeath3 Mar 11 '17

I also heard some mumbo jumbo about if it expires then that reduces the amount of time an attacker can use the compromised account. It doesn't make any sense because... 3 months is enough time to cause serious irreparable damage

Unless the password is stored in an encrypted database that would probably take significantly longer to crack. If a copy of my encrypted database is leaked and somebody sets to work at cracking it, there's a good chance that the data within is useless by the time they have it.

1

u/shthed Mar 11 '17

Ideally there would be some type of alert or way to detect if someone else logged into your account

1

u/[deleted] Mar 10 '17

No, this is insane. My mom is over 80 and I get about six calls a year asking for help with her apple id password. Apple has ratcheted up the complexity rules to the point that she simply cannot reliably type the damn thing on her phone with all the keyboard switching and shifting required to get all the kinds of characters they require.

Its just too much for older people to deal with.