Re: dblink connection security

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: dblink connection security
Дата
Msg-id 16926.1183323583@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: dblink connection security  (Robert Treat <xzilla@users.sourceforge.net>)
Список pgsql-patches
Robert Treat <xzilla@users.sourceforge.net> writes:
> Tom Lane wrote:
>> I like this approach better than removing public execute privileges
>> on the functions, for two reasons:

> I think this will break backwards compatability though.

Well, revoking public execute will break backwards compatibility too.

If you have a situation where you think it's safe to allow a
non-superuser to get at passwordless connections, you could wrap the
dblink_connect function in a postgres-owned SECURITY DEFINER function.
So either change can be worked around to get the old behavior if necessary.

            regards, tom lane

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

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: dblink connection security
Следующее
От: Joe Conway
Дата:
Сообщение: Re: dblink connection security