REVOKE ALL ON SCHEMA pg_catalog FROM PUBLIC

From: Michal Seidl <michal(dot)seidl(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: REVOKE ALL ON SCHEMA pg_catalog FROM PUBLIC
Date: 2010-11-12 00:34:27
Message-ID: 4CDC8B93.7070705@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello,
I would like to set up database as private as much as possible. The
basic problem is that default access for 'PUBLIC' allows any user to get
information about other existing databases, users, schemas, tables etc.

I think of something like
REVOKE ALL ON SCHEMA pg_catalog FROM PUBLIC
REVOKE ALL ON SCHEMA information_schema FROM PUBLIC

but I am not sure about consequences and I did not find any useful
information in manual.

Thanks Michal

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Joshua D. Drake 2010-11-12 01:38:49 Re: REVOKE ALL ON SCHEMA pg_catalog FROM PUBLIC
Previous Message Kevin Grittner 2010-11-11 15:08:35 Re: issue with 9.0 1 slave becomes master with new timeline