pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Wolff, Ken L <ken.l.wolff@lmco.com>
Cc: Allan Kamau <kamauallan@gmail.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Subject: Re: Lock Postgres account after X number of failed logins?
Date: Tue, 05 May 2020 15:11:00 -0400
Message-ID: <10842.1588705860@sss.pgh.pa.us> (raw)
In-Reply-To: <b8a2e09af5af4dd38d49af37c6d10393@lmco.com>
References: <b8a2e09af5af4dd38d49af37c6d10393@lmco.com>

"Wolff, Ken L" <ken.l.wolff@lmco.com> writes:
> I do understand what you described about locking down access through pg_hba.conf, so only authorized users/applications can connect.  That makes a lot of sense and I’m going to take it forward to our Information Security organization.  However,  in case they won’t budge from this requirement, can someone tell me what would be the best way to submit this as a feature request?  Simply edit the PostgreSQL Wiki ToDo page (https://wiki.postgresql.org/wiki/Todo) or is there some other method.

It's been discussed, but it's quite unlikely that we'd add features in
this area.  The project position is that if you have such requirements,
you can address them by using external authentication management, like
LDAP or PAM.  If we tried to take this on board, first we'd have a bunch
of problems with scope creep (because there are so many different random
requirements that people might have), and second we'd have a bunch of
architectural issues with where to keep the relevant state.  It can't
be ordinary database state --- at least not if you'd like to use the
feature on read-only slave servers, and even a single server would
have issues executing a transaction from a not-logged-in session ---
but then where *do* we keep it, and how would an admin see or adjust the
state?  It's a can of worms we don't really care to open, especially
when there are perfectly good solutions already available outside PG
proper.

			regards, tom lane





view thread (20+ messages)  latest in thread

Message-ID: <10842.1588705860@sss.pgh.pa.us>
Permalink:  ../10842.1588705860@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10842.1588705860@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ken.l.wolff@lmco.com, kamauallan@gmail.com, adrian.klaver@aklaver.com
  Subject: Re: Lock Postgres account after X number of failed logins?
  In-Reply-To: <10842.1588705860@sss.pgh.pa.us>
  References: <b8a2e09af5af4dd38d49af37c6d10393@lmco.com> <10842.1588705860@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox