Re: Read only access, via functions only

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Read only access, via functions only
Дата
Msg-id 49127AFA.3020907@postnewspapers.com.au
обсуждение исходный текст
Ответ на Re: Read only access, via functions only  ("Webb Sprague" <webb.sprague@gmail.com>)
Список pgsql-general
Webb Sprague wrote:
>> you can set transactions read only but the user can turn them off. Use
>> views, functions and GRANT.
>
> Views was the key word.  I had tried to do it with functions and GRANT alone.

You can also do a lot with SECURITY DEFINER functions - for example, if
you want to grant them the ability to make only very limited changes to
the data set and want to run some checking logic before allowing the change.

--
Craig Ringer

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

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Storage location of temporary files
Следующее
От: "praveen"
Дата:
Сообщение: Re: [ADMIN] Installation Error of postgresql-8.1.5 with perl.