From: Holger Jakobs <holger@jakobs.com>
To: pgsql-admin@postgresql.org
Subject: pg_hba.conf improvements
Date: Tue, 23 Sep 2003 13:23:37 +0200 (CEST)
Message-ID: <200309231123.h8NBNuP12950@bg.bib.de> (raw)
Hello,
User authorization is a difficult task. Requiring passwords ist
annoying, Kerberos is complicated, ident is not secure.
What about leaving it to the administrator of a system to provide a
function (either a C function in a shared lib or an executable) which
gets information passed and decides whether the access will be granted?
If you have a networked Windows environment you could for instance check
whether the user initiating a connection actually has a valid Windows
domain/active directory session open on the computer. This would be far
more secure than a simple ident which can be faked easily.
There may be other quite secure means of user authentication not
requiring a password every time you connect, so an
administrator-provided function can match the current needs.
A new keyword in pg_hba.conf could be introduced for this. The
parameters passed to the function or program would include the IP
addresses and port numbers of client and server, the name of the
database and the name of the user he pretends to be. If the return value
is true, access is granted, otherwise rejected.
If it is possible to get this running without changing PostgreSQL, I
would appreciate a note. Otherwise please take this as an item on the
wish list.
Sincerely,
Holger
--
Holger@Jakobs.com, Bergisch Gladbach, Germany
Telefon (0 22 02) 5 99 91 oder (01 77) 7 92 24 66
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-admin@postgresql.org
Cc: holger@jakobs.com
Subject: Re: pg_hba.conf improvements
In-Reply-To: <200309231123.h8NBNuP12950@bg.bib.de>
References: <200309231123.h8NBNuP12950@bg.bib.de>
* 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