Hiding users and databases - Mailing list pgsql-general

From Ross Dougherty
Subject Hiding users and databases
Date
Msg-id CAJt6HJDuQsyKB4+8yoi4sg4C2J97OecLg9f1gw_98uqGuRW2-A@mail.gmail.com
Whole thread Raw
Responses Re: Hiding users and databases  (Bruce Momjian <bruce@momjian.us>)
Re: Hiding users and databases  (Andreas Kretschmer <akretschmer@spamfence.net>)
List pgsql-general
Hi all,

We run database servers that each contain multiple customer databases.
We would like to give customers access to their own database but even
though they are unable to connect to the databases of other customers
due to connect grants they are still able to see all other databases
and users on the server.

Is there a way to mask or hide databases which they don’t have connect
grants to and hide users/roles aside from their own? I have found some
methods involving modifying the system catalogs but would prefer not
to do this. I would like to avoid renaming all users/databases to
non-identifiable names if possible but so far I think this is my only
option. Any other suggestions would be appreciated.

Thanks,
Ross


pgsql-general by date:

Previous
From: Devrim Gündüz
Date:
Subject: Re: PgAgent binary distribution for Centos 6.5
Next
From: aron123
Date:
Subject: Re: Will pg_repack improve this query performance?