Re: dblink vs SQL/MED - security and implementation details

Поиск
Список
Период
Сортировка
От Martin Pihlak
Тема Re: dblink vs SQL/MED - security and implementation details
Дата
Msg-id 4963A761.8070002@gmail.com
обсуждение исходный текст
Ответ на Re: dblink vs SQL/MED - security and implementation details  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: dblink vs SQL/MED - security and implementation details  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: dblink vs SQL/MED - security and implementation details  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
>> I think you want some permission checking on fdtest then, right?
> 
> What about the permissions on the system catalogs themselves?
> AFAICT, the pg_user_mappings view will expose user passwords to
> the "owner" of the foreign server, which doesn't seem good.
> 

Usually it would have been the server owner who created those user
mappings in the first place -- so the passwords are already known
to him/her. Of course it is possible to create the mappings first
and later change the ownership of the server, thus exposing the
passwords to a new role. But IMHO, it would be reasonable to assume
that the owner of the server has full control over its user mappings.

regards,
Martin




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SPI nesting in plperl
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Is it really such a great idea for spi.h to include the world?