Re: Restricting access to SHOW/SET

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Restricting access to SHOW/SET
Дата
Msg-id CAKFQuwbtjUgV0MPnRqqf0kpg3QsjGpCmB5=Nx8RFzemuJ=tUzw@mail.gmail.com
обсуждение исходный текст
Ответ на Restricting access to SHOW/SET  (Mats Julian Olsen <mats@plysjbyen.net>)
Список pgsql-admin
On Wed, May 27, 2020 at 8:18 AM Mats Julian Olsen <mats@plysjbyen.net> wrote:
I want to restrict a user from using SHOW and SET commands, but after searching for hours I can't find a solution to this. What am I missing?

This cannot be done, and wouldn't be a complete solution even if it could.

The configuration of, and all object definitions in, the database are considered public knowledge in PostgreSQL.  Only table contents and the capability to execute functions/procedures are secured - either directly or, as a convenience method, by restricting access to the schema in which they are contained.

David J.

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

Предыдущее
От: Raj kumar
Дата:
Сообщение: Understanding 'log_transaction_sample_rate'
Следующее
От: postgann2020 s
Дата:
Сообщение: suggestion the process to sync the data from PROD DB to Staging environment