Re: local security

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: local security
Дата
Msg-id Pine.LNX.4.30.0104140335360.945-100000@peter.localdomain
обсуждение исходный текст
Ответ на local security  ("David M. Kaplan" <dkaplan@genes.bio.puc.cl>)
Список pgsql-general
David M. Kaplan writes:

> I have a very simple security setup wish.  I only want to allow local
> connections where each user can only log into postgres as himself, but
> there isnt a "ident sameuser" option for local connections.  Is there
> any way around this?  Can anyone explain to me why such an option doesnt
> exist for local connections?

Because ident works based on TCP ports.  There is a similar mechanism for
Unix domain sockets implemented in some kernels, but it's not portable and
therefore there hasn't been wide-spread enthusiasm for supporting it.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: local security
Следующее
От: Karl DeBisschop
Дата:
Сообщение: Re: anti Christian bias?