From: Tom Lane <tgl@sss.pgh.pa.us>
To: PropAAS DBA <dba@propaas.com>
Cc: pgsql-general@postgresql.org
Subject: Re: system catalog permissions
Date: Mon, 26 Feb 2018 18:47:41 -0500
Message-ID: <19827.1519688861@sss.pgh.pa.us> (raw)
In-Reply-To: <3a8e96fa-29c5-c761-bf87-b5c811fe8867@propaas.com>
References: <3a8e96fa-29c5-c761-bf87-b5c811fe8867@propaas.com>
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. I assume pgadmin is pulling the list from the system catalogs.
> What's the right/best practice approach? revoke all from public on
> specific system catalog tables? Which tables?
Messing with the system catalog permissions is likely to break stuff
you'd rather not break.
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.
regards, tom lane
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: tgl@sss.pgh.pa.us, dba@propaas.com
Subject: Re: system catalog permissions
In-Reply-To: <19827.1519688861@sss.pgh.pa.us>
References: <3a8e96fa-29c5-c761-bf87-b5c811fe8867@propaas.com> <19827.1519688861@sss.pgh.pa.us>
* 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