Re: securing template1 - Mailing list pgsql-admin

From Tom Lane
Subject Re: securing template1
Date
Msg-id 9567.1096642495@sss.pgh.pa.us
Whole thread Raw
In response to securing template1  ("Gonzales,S" <gonzales_speedy@fastmail.fm>)
List pgsql-admin
"Gonzales,S" <gonzales_speedy@fastmail.fm> writes:
> How do i prevent ordinary users from altering the template1 database,
> eg they can create tables in template1;

Revoke public's CREATE rights on the public schema in template1.  See
the GRANT and REVOKE manual pages.

            regards, tom lane

pgsql-admin by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: grant command: wildcard on tables?
Next
From: "Shane | SkinnyCorp"
Date:
Subject: PLEASE GOD HELP US!