0

Oracle presents a fairly restrictive password policy:

Passwords can be from 1 to 30 characters.

The first character in an Oracle password must be a letter.

Only letters, numbers, and the symbols “#”, “_” and “$” are acceptable in a password.

These kind of restrictions pass through to web applications sometimes - either because the system is Oracle backed, or a web developer has copied the rules. For example, the Virgin Media login:Virgin Media password policy.

With best practices dictating salting + hashing, hence no restriction on length or characters, why does Oracle do this? Are there technical reasons, or is it simply a legacy choice?

2
  • The restrictions could be because monkeys don't like water. (I'm in a hurry but I'm sure someone will post the link.)
    – TTT
    Commented Feb 19, 2015 at 14:17
  • I know the story, will google it and link when at desk. Commented Feb 19, 2015 at 16:54

1 Answer 1

1

I would say that other character might confuse Oracle parser. You use SQL change the password:

alter user xxx identified by pass;

There are NO quotes around the password. So I would say it is for legacy reasons. Oracle has same restrictions also for identifier/table/column names.

PS: password strength (entropy) is not primary determined by possible chars, but by it's length. In case of the password it's the length what matters.

3
  • 1
    Isn't password entropy H = L*logN/log2? Commented Feb 19, 2015 at 10:32
  • see this xkcd comic strip: explainxkcd.com/wiki/index.php/936:_Password_Strength
    – ibre5041
    Commented Feb 19, 2015 at 10:34
  • 1
    I don't agree that the strip supports the notion that password strength is more impacted by length than character set. It supports that a longer password that is memorable is better than a shorter one that isn't. Character set has more of an impact on entropy, and for brute forcing that is important. Commented Feb 19, 2015 at 10:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .