Re: [v9.1] Add security hook on initialization of instance - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: [v9.1] Add security hook on initialization of instance
Date
Msg-id 20100709145222.GS21875@tamriel.snowman.net
Whole thread Raw
In response to Re: [v9.1] Add security hook on initialization of instance  (Stephen Frost <sfrost@snowman.net>)
Responses Re: [v9.1] Add security hook on initialization of instance
Re: [v9.1] Add security hook on initialization of instance
List pgsql-hackers
* Stephen Frost (sfrost@snowman.net) wrote:
> Guess my first thought was that you'd have a database-level label that
> would be used by SELinux to validate a connection.  A second thought is
> labels for roles.  KaiGai, can you provide your thoughts on this
> discussion/approach/problems?  I realize it's come a bit far-afield from
> your original proposal.

Something else which has come up but is related is the ability to
support a "pam_tally"-like function in PG.  Basically, the ability to
lock users out if they've had too many failed login attempts.  I wonder
if we could add this hook (or maybe have more than one if necessary) in
a way to support a contrib module for that.
Thanks,
    Stephen

pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: [COMMITTERS] pgsql: Add a hook in ExecCheckRTPerms().
Next
From: Yeb Havinga
Date:
Subject: FYI: Ubuntu 10.04 lucid strange segfault