From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gonzales,S <gonzales_speedy@fastmail.fm>
Cc: pgsql-admin@postgresql.org
Subject: Re: securing template1
Date: Fri, 01 Oct 2004 10:54:55 -0400
Message-ID: <9567.1096642495@sss.pgh.pa.us> (raw)
In-Reply-To: <cj99c3$tef$1@ikaria.belnet.be>
References: <cj99c3$tef$1@ikaria.belnet.be>
"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
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-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, gonzales_speedy@fastmail.fm
Subject: Re: securing template1
In-Reply-To: <9567.1096642495@sss.pgh.pa.us>
References: <cj99c3$tef$1@ikaria.belnet.be> <9567.1096642495@sss.pgh.pa.us>
* 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