Re: how to remove set_config from all user

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: how to remove set_config from all user
Дата
Msg-id CAKFQuwbmVm2j_DyvqOrGwVq=4yFbAy2VH_bXvqV-FG-KnBg+EA@mail.gmail.com
обсуждение исходный текст
Ответ на how to remove set_config from all user  (Garry Chen <gc92@cornell.edu>)
Ответы RE: how to remove set_config from all user
Список pgsql-novice
On Thu, Jan 18, 2018 at 12:08 PM, Garry Chen <gc92@cornell.edu> wrote:

Hi All,

                Is there a way to revoke select set_config(‘eeee’,bb’,false) from users?  I will not to allow any user be able to the “select set_config(….)” statement.



​As a practical matter, no.  They can just do: "SET ... TO ..." to get around the function privilege denial even if worked out a usable hack.

David J.

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

Предыдущее
От: Garry Chen
Дата:
Сообщение: how to remove set_config from all user
Следующее
От: Garry Chen
Дата:
Сообщение: RE: how to remove set_config from all user