pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joseph Kennedy <joseph.kennedy.486@gmail.com>
To: Stephen Frost <sfrost@snowman.net>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: Giovanni Biscontini <biscontini.g@es2000.it>
Cc: pgsql-general@postgresql.org
Subject: Re: PostgreSQL
Date: Thu, 9 Feb 2023 09:54:00 +0100
Message-ID: <D43E76C3-92B7-416B-BAFD-E0581017B12C@gmail.com> (raw)
In-Reply-To: <Y+Lubn8HhIIpTUJl@tamriel.snowman.net>
References: <Y+Lubn8HhIIpTUJl@tamriel.snowman.net>

As I wtote, 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).

My question is: do you know some other solution to do that ? 

Some 3rd party solution eg. similar to pgpool or something else ?

Maybe RLS is the beat solution for me. 

Thank you for your suggestions. 

> Wiadomość napisana przez Stephen Frost <sfrost@snowman.net> w dniu 08.02.2023, o godz. 01:36:
> 
> Greetings,
> 
> * Joseph Kennedy (joseph.kennedy.486@gmail.com) wrote:
>> Thank you Laurenz, I just wanted to make sure. 
>> 
>> Do you know any alternative solution to RLS ?
> 
> ... to do what?  If you want to limit the set of rows that a given user
> can see, RLS is how to do that.  If you want to limit the schemas or
> tables that a user can see, that isn't possible in PG today (though
> there was some interest a while back in making that work via RLS on the
> catalogs which you might be able to find).
> 
> Thanks,
> 
> Stephen

view thread (68+ messages)  latest in thread

Message-ID: <D43E76C3-92B7-416B-BAFD-E0581017B12C@gmail.com>
Permalink:  ../D43E76C3-92B7-416B-BAFD-E0581017B12C@gmail.com/
Also on:    postgresql.org/message-id/D43E76C3-92B7-416B-BAFD-E0581017B12C@gmail.com

 · 

reply

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, sfrost@snowman.net, laurenz.albe@cybertec.at, biscontini.g@es2000.it
  Subject: Re: PostgreSQL
  In-Reply-To: <D43E76C3-92B7-416B-BAFD-E0581017B12C@gmail.com>
  References: <Y+Lubn8HhIIpTUJl@tamriel.snowman.net> <D43E76C3-92B7-416B-BAFD-E0581017B12C@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