Re: Bug #756: suggestion: file with password instead of $PGPASSWORD

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: pg(at)wojtus(dot)net, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #756: suggestion: file with password instead of $PGPASSWORD
Date: 2002-09-04 17:05:44
Message-ID: 200209041705.g84H5iG07059@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches


This functionality will be in 7.3, due out in a few months.

---------------------------------------------------------------------------

pgsql-bugs(at)postgresql(dot)org wrote:
> Wojciech Scigala (pg(at)wojtus(dot)net) reports a bug with a severity of 4
> The lower the number the more severe it is.
>
> Short Description
> suggestion: file with password instead of $PGPASSWORD
>
> Long Description
> This is not a bug-report in fact, but a suggestion of a feature.
> (I couldn't find an separate email for suggestions and ideas).
> As you know, many people have trouble keeping both secure (passworded) access to PG databased while allowing some unattended access for them, for example for backing up.
> Enviroment variable $PGPASSWORD is very useful here, but sensitive data should not be passed via enviroment. The better way to do it is to provide a name of file which contains the password. The file's access rights (if set properly) will provide necessary security in an easy way. And that's what I'm suggesting - an introdution of new variable, say $PGPASSWORD_FILE which will point to a file with password.
>
> Sample Code
>
>
> No file was uploaded with this report
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2002-09-04 20:51:34 Bug #757: ODBC Doesn works
Previous Message Rod Taylor 2002-09-04 16:48:01 Re: Bug #756: suggestion: file with password instead of

Browse pgsql-patches by date

  From Date Subject
Next Message Joe Conway 2002-09-04 17:15:19 Re: findoidjoins
Previous Message Tom Lane 2002-09-04 16:57:53 Re: findoidjoins