From: Joseph Kennedy <joseph.kennedy.486@gmail.com>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: Giovanni Biscontini <biscontini.g@es2000.it>
Cc: pgsql-general@postgresql.org
Subject: Re: PostgreSQL
Date: Sun, 2 Apr 2023 23:21:26 +0200
Message-ID: <CC59E8B4-02E1-45B1-8030-1FD44665CA7D@gmail.com> (raw)
In-Reply-To: <2eef5146f9836742de02d9db5cbe6cc8a4e3827d.camel@cybertec.at>
References: <2eef5146f9836742de02d9db5cbe6cc8a4e3827d.camel@cybertec.at>
> Wiadomość napisana przez Laurenz Albe <laurenz.albe@cybertec.at> w dniu 09.02.2023, o godz. 16:42:
>
> On Thu, 2023-02-09 at 09:54 +0100, Joseph Kennedy wrote:
>> 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 ?
>
> It is easy to hide data from users: use permissions or row level security.
>
> It is impossible to hide metadata from users, but we don't consider that a problem.
>
> If you want that, use a database or a database cluster per user.
>
> Yours,
> Laurenz Albe
I have one more question on this topic regarding Row Level Security.
I would like to hide some rows for users who should have full rights to database eg. create Index, drop table, create tabel etc. but e.g. create index can be done by owner or superusers but they are bypassed by Row Level Security.
Is possible to use RLS for users who should have full rights to database ?
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, laurenz.albe@cybertec.at, sfrost@snowman.net, biscontini.g@es2000.it
Subject: Re: PostgreSQL
In-Reply-To: <CC59E8B4-02E1-45B1-8030-1FD44665CA7D@gmail.com>
References: <2eef5146f9836742de02d9db5cbe6cc8a4e3827d.camel@cybertec.at> <CC59E8B4-02E1-45B1-8030-1FD44665CA7D@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