Re: FW: [ppa-dev] Severe bug in debian - phppgadmin opens

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: FW: [ppa-dev] Severe bug in debian - phppgadmin opens
Дата
Msg-id 3843.1006977334@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: FW: [ppa-dev] Severe bug in debian - phppgadmin opens  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: FW: [ppa-dev] Severe bug in debian - phppgadmin opens  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> The idea of allowing the password to be stored in a file with 600
> permissions seems quite standard.  CVS does this.

Seems it would be nice if psql could accept a switch along the lines of--password-is-in-file filename
and go off to read the password from the named file (which we hope is
secured correctly).

Or take it a little further: what about defining a PGPASSWORDFILE
environment variable that libpq would consult, before or instead of
PGPASSWORD?  That would give us the same feature for free across all
libpq-using apps, not only psql.  Exposing a file name in the
environment is not a security risk, I hope.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: FW: [ppa-dev] Severe bug in debian - phppgadmin opens
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: FW: [ppa-dev] Severe bug in debian - phppgadmin opens