Re: system catalog permissions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: system catalog permissions
Дата
Msg-id 19827.1519688861@sss.pgh.pa.us
обсуждение исходный текст
Ответ на system catalog permissions  (PropAAS DBA <dba@propaas.com>)
Ответы Re: system catalog permissions  (Paul Jungwirth <pj@illuminatedcomputing.com>)
Список pgsql-general
PropAAS DBA <dba@propaas.com> writes:
> We have a client which is segmenting their multi-tenant cluster 
> (PostgreSQL 9.6) by schema, however if one of their clients connects via 
> pgadmin they see ALL schemas, even the ones they don't have access to 
> read. I assume pgadmin is pulling the list from the system catalogs.

> What's the right/best practice approach? revoke all from public on 
> specific system catalog tables? Which tables?

Messing with the system catalog permissions is likely to break stuff
you'd rather not break.

PG generally doesn't assume that anything in the system catalogs is
sensitive.  If you don't want user A looking at user B's catalog
entries, give them separate databases, not just separate schemas.

            regards, tom lane


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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: system catalog permissions
Следующее
От: Paul Jungwirth
Дата:
Сообщение: Re: system catalog permissions