Privileges question

From: "Alexander James Spence [axs]" <axs(at)aber(dot)ac(dot)uk>
To: "'pgsql-admin(at)postgresql(dot)org'" <pgsql-admin(at)postgresql(dot)org>
Subject: Privileges question
Date: 2011-10-18 16:15:57
Message-ID: 8EDB6E83019BEC4B9153122CFB928AF001F6463C4B5D@MAILBOX.staff.aber.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi All,

I will have to create around 200+ users and user databases for student project use. I have tried all sorts of GRANT and REVOKE combinations but for the life of me cannot stop other users from creating tables in a database that is not their own.

EXAMPLE:

Create userone with a database userone

Create usertwo with a database usertwo

Login as usertwo and change to use userone database

Can now create tables in userone database

We are running version 9.1 anyone out there who can show me how can I stop this behaviour?

A bonus would also be nice if I can stop the user from deleting their own database.

Thanks in advance.

Regards,

Sandy Spence
Department of Computer Science
Aberystwyth University
Penglais Campus
Llandinam Building
Aberystwyth
Ceredigion
SY23 3DB
Tel: 01970-622433
Fax: 01970-628536

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Kevin Grittner 2011-10-18 16:27:06 Re: Privileges question
Previous Message Wenjing Yao 2011-10-18 07:24:33 Would you like to provide the Product Code of PostgreSQL releases?