pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: PropAAS DBA <dba@propaas.com>
To: pgsql-general@postgresql.org
Subject: Re: system catalog permissions
Date: Mon, 26 Feb 2018 15:43:49 -0800
Message-ID: <b164f3c7-91a5-7c19-7b93-5d87b2eb2750@commandprompt.com> (raw)
In-Reply-To: <3a8e96fa-29c5-c761-bf87-b5c811fe8867@propaas.com>
References: <3a8e96fa-29c5-c761-bf87-b5c811fe8867@propaas.com>

On 02/26/2018 03:11 PM, PropAAS DBA wrote:
> All;
>
>
> 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?

AFAIK, you can not hide the list of schemas but you can prevent people 
from entering them.


JD

>
>
> Thanks in advance
>
>

-- 
Command Prompt, Inc. || http://the.postgres.company/ || @cmdpromptinc

PostgreSQL centered full stack support, consulting and development.
Advocate: @amplifypostgres || Learn: https://postgresconf.org
*****     Unless otherwise stated, opinions are my own.   *****





view thread (6+ messages)  latest in thread

Message-ID: <b164f3c7-91a5-7c19-7b93-5d87b2eb2750@commandprompt.com>
Permalink:  ../b164f3c7-91a5-7c19-7b93-5d87b2eb2750@commandprompt.com/
Also on:    postgresql.org/message-id/b164f3c7-91a5-7c19-7b93-5d87b2eb2750@commandprompt.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: jd@commandprompt.com, dba@propaas.com
  Subject: Re: system catalog permissions
  In-Reply-To: <b164f3c7-91a5-7c19-7b93-5d87b2eb2750@commandprompt.com>
  References: <3a8e96fa-29c5-c761-bf87-b5c811fe8867@propaas.com> <b164f3c7-91a5-7c19-7b93-5d87b2eb2750@commandprompt.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