Re: User mapping security

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: User mapping security
Дата
Msg-id 1258588.1699567413@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: User mapping security  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: User mapping security  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-docs
Bruce Momjian <bruce@momjian.us> writes:
> On Tue, Jul 16, 2019 at 02:01:00AM +0000, PG Doc comments form wrote:
>> I suppose it should be warned on the pages that foreign credentials with be
>> stored as simple text and will be available for viewing in pg_user_mappings.

> I know this is four years old, but the attached patch documents it.  I
> don't think postgresql-fdw needs it since it relies on user mapping and
> discourages passwords in the connection string.

This is far too alarmist.  It ignores the privilege restrictions that
are built into the pg_user_mappings view.  Random users can't see
umoptions.

            regards, tom lane



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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: User mapping security
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: User mapping security