Re: prevent connection using pgpass.conf

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: prevent connection using pgpass.conf
Дата
Msg-id t2h9837222c1004010257tf835e2a6pd2e08c627b3f6d14@mail.gmail.com
обсуждение исходный текст
Ответ на Re: prevent connection using pgpass.conf  ("Christophe Dore" <c.dore@castsoftware.com>)
Ответы Re: prevent connection using pgpass.conf
Список pgsql-general
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.

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

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

Предыдущее
От: Alban Hertroys
Дата:
Сообщение: Re: Re : Re : Re : Re : Select in temporary table
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: "1-Click" installer problems