From: Sean K. Sell <sean@nist.gov>
To: pgsql-admin@postgresql.org
Subject: Re: Problems with user-level security
Date: Wed, 07 Nov 2001 09:56:56 -0500
Message-ID: <3BE94BB8.93F58096@nist.gov> (raw)
References: <1709.66.126.254.34.1005099567.squirrel@medusa.kfu.com>
I agree a user column would VERY nice especially when you have several machines doing replication
or users that are connecting with ODBC and have to use password instead of crypt authentication.
Nick Sayer wrote:
> Maybe it's just me, but I think pg_hba.conf needs a user column in it.
>
> On the one hand, I need
>
> local sameuser password
>
> because I have untrusted users who should only have access to their own
> databases.
>
> On the other hand, I do a nightly pg_dumpall as part of the backups so that
> I don't have to dump the actual database working areas. For that to work, I
> need to say
>
> local all password
>
> so that my backup script will work.
>
> What I *really* want is for an extra column to be added to pg_hba.conf to
> specify the user of interest. Like this:
>
> all local sameuser password
> backups local all password
> pgsql local all password
>
> Does this make any sense? Is there some way to achieve this I am missing?
> The only way I can do backups at the moment is introduce a race condition
> so that anyone can connect to any database they like at certain times of
> day. Not good.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
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: sean@nist.gov
Subject: Re: Problems with user-level security
In-Reply-To: <3BE94BB8.93F58096@nist.gov>
References: <1709.66.126.254.34.1005099567.squirrel@medusa.kfu.com> <3BE94BB8.93F58096@nist.gov>
* 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