Re: Postgres Permissions Article

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Postgres Permissions Article
Дата
Msg-id 20434.1490794567@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Postgres Permissions Article  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Ответы Re: Postgres Permissions Article  (Paul Jungwirth <pj@illuminatedcomputing.com>)
Список pgsql-general
Karsten Hilbert <Karsten.Hilbert@gmx.net> writes:
> On Tue, Mar 28, 2017 at 09:47:40AM -0700, Paul Jungwirth wrote:
>> I wrote a blog post about the Postgres permissions system, and I thought I'd
>> share:
>> http://illuminatedcomputing.com/posts/2017/03/postgres-permissions/

> Not that I am an expert in any way but here's a thought on
> why a permission on foreign key creation might be useful:

> Being able to create foreign keys may allow to indirectly
> discover whether certain values exists in a table which I
> don't otherwise have access to (by means of failure or
> success to create a judiciously crafted FK).

Aside from that, an FK can easily be used to cause effective
denial-of-service, for example preventing rows from being deleted
within a table, or adding enormous overhead to such a deletion.

            regards, tom lane


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: How to get correct local time
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Using relations in the SELECT part