Received: from mail.student.ethz.ch (mail-rz-fast.student.ethz.ch [129.132.97.23]) by hub.org (8.10.1/8.10.1) with ESMTP id e5GCr0I87382 for ; Fri, 16 Jun 2000 08:53:01 -0400 (EDT) Received: from raf18 (muehlste@raf18.iiic.ethz.ch) by mail.student.ethz.ch (Sun Internet Mail Server sims.3.5.1999.07.30.00.05.p8) with SMTP id <0FW8000KAZSAY0@mail.student.ethz.ch> for pgsql-admin@postgresql.org; Fri, 16 Jun 2000 14:52:59 +0200 (MET DST) Date: Fri, 16 Jun 2000 14:52:57 +0200 (MET DST) From: Stefan Muehlebach Subject: Preventing users from creating tables in certain dbs. X-Sender: muehlste@raf18 To: pgsql-admin@postgresql.org Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200006/121 Hi there How can I prevent a user from creating a table in a database that she is not owner of? Suppose we have two users: 'mary' and 'fred', both are postgres-users, NOT allowed to create dbs or users. For both users the db manager already created a database (named 'mary' and 'fred'). In the standard installation of postgres it is possible for 'mary' and 'fred' to create tables in the database of the other user. How can I prevent this? I use this at our school, where every student should be able to have her own database, but not beeing able to 'pollute' the db of her neighbour. Thank you in advance for you help. [mju]