Tom Lane wrote:
> Actually there's a much bigger problem with asking the backend to reject
> weak passwords: what ya gonna do with a pre-MD5'd string? Which is
> exactly what the backend is going to always get, in a security-conscious
You mean if the password is set with
CREATE/ALTER ROLE x ENCRYPTED PASSWORD 'md5string' ?
That could not be checked of course...
I'm thinking of the case where somebody changes his or her
password interactively on the command line, with pgAdmin III,
or similar. People would hardly use the above in that case,
and you can do it safely over SSL encrypted connections.
Given the feedback by everybody (thanks!) I will investigate
the option of a loadable module or some other kind of hook.
Is there code in PostgreSQL that uses something like that
to get me started?
In response to
pgsql-hackers by date
|Next:||From: Marko Tiikkaja||Date: 2009-09-28 15:31:59|
|Subject: Re: Using results from INSERT ... RETURNING|
|Previous:||From: Tom Lane||Date: 2009-09-28 15:06:15|
|Subject: Re: Rejecting weak passwords |