Re: securing template1

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Gonzales,S" <gonzales_speedy(at)fastmail(dot)fm>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: securing template1
Date: 2004-10-01 14:54:55
Message-ID: 9567.1096642495@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Gonzales,S" <gonzales_speedy(at)fastmail(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Shane | SkinnyCorp 2004-10-01 16:04:57 PLEASE GOD HELP US!
Previous Message Stephan Szabo 2004-10-01 13:55:38 Re: grant command: wildcard on tables?