Re: dblink connection security

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: dblink connection security
Дата
Msg-id 1836.1183821543@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: dblink connection security  (Joe Conway <mail@joeconway.com>)
Ответы Re: dblink connection security
Список pgsql-patches
Joe Conway <mail@joeconway.com> writes:
> What about using the attached for 8.3, as well as earlier?

> It simply does not allow the local database user to become someone else
> on the libpq remote connection unless they are a superuser.

This assumes that usernames on the remote site are equivalent to those
locally.  Which is helpful for the sort of local-loop scenarios we've
been thinking about, but is hardly watertight even then (consider
multiple postmasters on one machine).  For remote connections it seems
counterproductive; you might as well say "you must be superuser" and
keep it simple.

            regards, tom lane

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: script binaries renaming
Следующее
От: Joe Conway
Дата:
Сообщение: Re: dblink connection security