Re: Postgres 12 RLS

Поиск
Список
Период
Сортировка
От Paul Förster
Тема Re: Postgres 12 RLS
Дата
Msg-id B3750A95-C425-4C69-9D85-DAF5582FEA8B@gmail.com
обсуждение исходный текст
Ответ на Postgres 12 RLS  (Laura Smith <n5d9xq3ti233xiyif2vp@protonmail.ch>)
Ответы Re: Postgres 12 RLS
Список pgsql-general
Hi Laura,

> On 08. Jun, 2020, at 12:17, Laura Smith <n5d9xq3ti233xiyif2vp@protonmail.ch> $$ LANGUAGE plpgsql SECURITY DEFINER;

you might want to use security invoker instead of definer.

https://www.postgresql.org/docs/current/sql-createfunction.html#SQL-CREATEFUNCTION-SECURITY

https://www.cybertec-postgresql.com/en/abusing-security-definer-functions/

Cheers,
Paul




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

Предыдущее
От: Laura Smith
Дата:
Сообщение: Postgres 12 RLS
Следующее
От: Ravi Krishna
Дата:
Сообщение: Re: Concurrenctly running CREATE TEMP TABLE IF NOT EXISTS [...] AS[...]