From: | Steve Atkins <steve(at)blighty(dot)com> |
---|---|
To: | pgsql general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Password strength requirements |
Date: | 2006-12-21 17:34:59 |
Message-ID: | 078E2815-7030-43A8-8A68-A7A1304236E3@blighty.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Dec 21, 2006, at 7:08 AM, Tomasz Ostrowski wrote:
> I'm working on a project which needs to satisfy some legal
> requirements for password strength. But any postgresql user can do;
> alter role [session_user] password 'foo';
>
> Is there any way to disallow self changing of password by ordinary
> users? Or force password strength in any other way?
If you check http://www.postgresql.org/docs/8.2/static/client-
authentication.html
you'll see a bunch of different ways to authenticate users. Most of
them are
external to the database, so don't allow changing the password from
within
the database.
One of those should satisfy your needs - PAM in particular allows you to
plugin a huge variety of backends to provide a lot of different
behaviors.
Cheers,
Steve
From | Date | Subject | |
---|---|---|---|
Next Message | Csaba Nagy | 2006-12-21 17:36:01 | Re: Autovacuum Improvements |
Previous Message | Rodrigo Sakai | 2006-12-21 17:32:33 | RESTORING A DATABASE WITH DIFFERENT TIMEZONES |