From: Paul Jungwirth <pj@illuminatedcomputing.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: system catalog permissions
Date: Mon, 26 Feb 2018 15:55:38 -0800
Message-ID: <de25d386-70e9-4442-fbf2-21be6f909098@illuminatedcomputing.com> (raw)
In-Reply-To: <19827.1519688861@sss.pgh.pa.us>
References: <3a8e96fa-29c5-c761-bf87-b5c811fe8867@propaas.com>
<19827.1519688861@sss.pgh.pa.us>
On 02/26/2018 03:47 PM, Tom Lane wrote:
> PropAAS DBA <dba@propaas.com> writes:
>> We have a client which is segmenting their multi-tenant cluster
>> (PostgreSQL 9.6) by schema, however if one of their clients connects via
>> pgadmin they see ALL schemas, even the ones they don't have access to
>> read.
> PG generally doesn't assume that anything in the system catalogs is
> sensitive. If you don't want user A looking at user B's catalog
> entries, give them separate databases, not just separate schemas.
I'm sure this is what you meant, but you need to give them separate
*clusters*, right? Even with separate databases you can still get a list
of the other databases and other roles in the cluster. I would actually
love to be mistaken but when I looked at it a year or two ago I couldn't
find a way to lock that down (without breaking a lot of tools anyway).
Thanks!
--
Paul ~{:-)
pj@illuminatedcomputing.com
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: pj@illuminatedcomputing.com
Subject: Re: system catalog permissions
In-Reply-To: <de25d386-70e9-4442-fbf2-21be6f909098@illuminatedcomputing.com>
References: <3a8e96fa-29c5-c761-bf87-b5c811fe8867@propaas.com> <19827.1519688861@sss.pgh.pa.us> <de25d386-70e9-4442-fbf2-21be6f909098@illuminatedcomputing.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