Re: PostgreSQL

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: PostgreSQL
Дата
Msg-id 03811072-b926-42bd-7720-8b93c432aacd@gmx.net
обсуждение исходный текст
Ответ на PostgreSQL  (Joseph Kennedy <joseph.kennedy.486@gmail.com>)
Список pgsql-general
Joseph Kennedy schrieb am 07.02.2023 um 12:02:
> I would like restrict access to sensitive or restricted information
> for some users (eg. hide data of one or more clients for some
> database users).
>
> PostgreSQL allows to create security policy as Row-Level Security,
> policies based on the querying user.
>
>
> Are there any other alternatives to RLS, are there any better
> solutions??

You can create a view layer and only grant access to the data through views
(and obviously revoke access to the tables directly)

Or allow access only through (set returning) functions



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

Предыдущее
От: Rinat Shigapov
Дата:
Сообщение: Re: Too coarse predicate locks granularity for B+ tree indexes
Следующее
От: Giovanni Biscontini
Дата:
Сообщение: Re: PostgreSQL