Re: Restrict user's query row number

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Restrict user's query row number
Дата
Msg-id 20210826131837.GA22661@momjian.us
обсуждение исходный текст
Ответ на Restrict user's query row number  ("Burhan Akbulut (ETIYA)" <burhan.akbulut@etiya.com>)
Список pgsql-admin
On Thu, Aug 26, 2021 at 12:05:34PM +0000, Burhan Akbulut (ETIYA) wrote:
> Hello,
> 
>  
> 
> Some tables that contain sensitive data can be accessed by many people from the
> operation team. I want to limit rows the results of queries containing these
> tables through client applications such as Pgadmin or DBeaver.
> 
>  
> 
> Can I do this exactly? How can I do it if I can?

I think views and row-level security should help:

    https://www.postgresql.org/docs/13/ddl-rowsecurity.html

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  If only the physical world exists, free will is an illusion.




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

Предыдущее
От: "Burhan Akbulut (ETIYA)"
Дата:
Сообщение: Restrict user's query row number
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Restrict user's query row number