Re: Functions as a Security Layer

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Functions as a Security Layer
Дата
Msg-id 25323.1136778646@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Functions as a Security Layer  (Benjamin Stookey <jamstooks@yahoo.com>)
Ответы Re: Functions as a Security Layer  (Benjamin Stookey <jamstooks@yahoo.com>)
Список pgsql-general
Benjamin Stookey <jamstooks@yahoo.com> writes:
> My question is, can I somehow give permissions to the
> function, but not to the user to protect the counter
> table from being modified in any ways I don't want?

Label the function SECURITY DEFINER.

            regards, tom lane

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

Предыдущее
От: Benjamin Stookey
Дата:
Сообщение: Functions as a Security Layer
Следующее
От: Ian Harding
Дата:
Сообщение: Re: Oracle DB Worm Code Published