Re: [GENERAL] USER Profiles for PostgreSQL

From: Melvin Davidson <melvin6925(at)gmail(dot)com>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, chiru r <chirupg(at)gmail(dot)com>, Forums postgresql <pgsql-general(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [GENERAL] USER Profiles for PostgreSQL
Date: 2017-09-19 17:39:25
Message-ID: CANu8Fiw0sc8HVDHPM_wBjbjimQmdP2JQkDX6b8yOCKuFn2owpg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Tue, Sep 19, 2017 at 1:28 PM, Stephen Frost <sfrost(at)snowman(dot)net> wrote:

> Tom,
>
> * Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)us) wrote:
> > chiru r <chirupg(at)gmail(dot)com> writes:
> > > We are looking for User profiles in ope source PostgreSQL.
> > > For example, If a user password failed n+ times while login ,the user
> > > access has to be blocked few seconds.
> > > Please let us know, is there any plan to implement user profiles in
> feature
> > > releases?.
> >
> > Not particularly. You can do that sort of thing already via PAM,
> > for example.
>
> Ugh, hardly and it's hokey and a huge pain to do, and only works on
> platforms that have PAM.
>
> Better is to use an external authentication system (Kerberos, for
> example) which can deal with this, but I do think this is also something
> we should be considering for core, especially now that we've got a
> reasonable password-based authentication method with SCRAM.
>
> Thanks!
>
> Stephen
>

Perhaps, as an alternative, although not currently supported, connection
attempts can be added in the future to "Event Triggers"?
Users could then create a trigger function to enable/disable logins.

--
*Melvin Davidson*
I reserve the right to fantasize. Whether or not you
wish to share my fantasy is entirely up to you.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dipesh Dangol 2017-09-19 18:38:44 Re: [HACKERS] pgjdbc logical replication client throwing exception
Previous Message Stephen Frost 2017-09-19 17:28:11 Re: [GENERAL] USER Profiles for PostgreSQL

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2017-09-19 17:40:20 pgsql: Make new crash restart test a bit more robust.
Previous Message Andres Freund 2017-09-19 17:31:26 Show backtrace when tap tests fail