Re: Local authentication/security

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Local authentication/security
Дата
Msg-id 200708232311.05244.peter_e@gmx.net
обсуждение исходный текст
Ответ на Local authentication/security  ("Lange Marcus" <marcus.lange@saabgroup.com>)
Список pgsql-general
Lange Marcus wrote:
> I would like to be able to restrict the access to a database so that
> only a specific program running on the same machine can access it,

In postgresql.conf, set

unix_socket_permissions = 770
unix_socket_group = postgres

and make your program setgid postgres.  Or some variant of this
involving those parameters.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

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

Предыдущее
От: Shelby Cain
Дата:
Сообщение: Re: FATAL: could not reattach to shared memory (Win32)
Следующее
От: Decibel!
Дата:
Сообщение: Re: Automating logins for mundane chores