Re: thread by Jessica Richards on read only permissions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: thread by Jessica Richards on read only permissions
Дата
Msg-id 25810.1193429458@sss.pgh.pa.us
обсуждение исходный текст
Ответ на thread by Jessica Richards on read only permissions  (Mija Lee <mija@scharp.org>)
Ответы Re: thread by Jessica Richards on read only permissions
Список pgsql-novice
Mija Lee <mija@scharp.org> writes:
> I wanted to follow up on the thread opened by Jessica Richards on
> granting read only permissions. Basically it sounded like there were two
> options:

> 1. granting select on each table
> 2. alter user set default_transaction_read_only to true

You do realize that #2 is completely insecure?  It's only establishing a
session default, which the user can override with a simple SET.

            regards, tom lane

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

Предыдущее
От: Mija Lee
Дата:
Сообщение: thread by Jessica Richards on read only permissions
Следующее
От: Mija Lee
Дата:
Сообщение: Re: thread by Jessica Richards on read only permissions