Re: prevent connection using pgpass.conf

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: prevent connection using pgpass.conf
Дата
Msg-id 201004130030.o3D0UY907727@momjian.us
обсуждение исходный текст
Ответ на Re: prevent connection using pgpass.conf  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-general
Magnus Hagander wrote:
> 2010/4/1 Christophe Dore <c.dore@castsoftware.com>:
> >
> > - is there any configuration that can be done on server side to prevent
> > the client side to use such file to read passwords ?
>
> No. It happens before the user ha slogged in, obviously.
>
>
> > - is there any options that can be set in postgres libpq C library to
> > prevent the connection functions to search for password in files ?
>
> No, but you could possibly set the PGPASSFILE environment variable to
> a place where you *know* there won't be a pgpass file, if you can
> determine such a place.

/dev/null?

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

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

Предыдущее
От: Thomas Kellerer
Дата:
Сообщение: Re: Where to configure pg_xlog file-size?
Следующее
От: John R Pierce
Дата:
Сообщение: Re: prevent connection using pgpass.conf