From: Joseph Kennedy <joseph.kennedy.486@gmail.com>
To: pgsql-general@postgresql.org
Subject: PostgreSQL
Date: Tue, 7 Feb 2023 12:02:21 +0100
Message-ID: <A39C6073-B097-4403-A9DB-05D039047C4A@gmail.com> (raw)
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??
What are the advantages and disadvantages of RLS?
How much RLS will cause a decrease in database performance?
JK
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: joseph.kennedy.486@gmail.com
Subject: Re: PostgreSQL
In-Reply-To: <A39C6073-B097-4403-A9DB-05D039047C4A@gmail.com>
References: <A39C6073-B097-4403-A9DB-05D039047C4A@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox