pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedPreventing users from creating tables in certain dbs.
2+ messages / 2 participants
[nested] [flat]
* Preventing users from creating tables in certain dbs.
@ 2000-06-16 12:52 Stefan Muehlebach <muehlste@student.ethz.ch>
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Muehlebach @ 2000-06-16 12:52 UTC (permalink / raw)
To: pgsql-admin
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]
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Preventing users from creating tables in certain dbs.
@ 2000-06-21 13:53 R D <mrk279@yahoo.com>
0 siblings, 0 replies; 2+ messages in thread
From: R D @ 2000-06-21 13:53 UTC (permalink / raw)
To: Stefan Muehlebach <muehlste@student.ethz.ch>; +Cc: pgsql-admin
--- Stefan Muehlebach <muehlste@student.ethz.ch>
wrote:
> Hi there
>
> How can I prevent a user from creating a table in a
> database that she is
> not owner of?
>
You can't. But as far as I know it's worked on the
problem.
Rumen
p.s. Sorry if message is doubled but there was no
responce from pgsql-admin whole day!
__________________________________________________
Do You Yahoo!?
Send instant messages with Yahoo! Messenger.
http://im.yahoo.com/
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2000-06-21 13:53 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-06-16 12:52 Preventing users from creating tables in certain dbs. Stefan Muehlebach <muehlste@student.ethz.ch>
2000-06-21 13:53 Re: Preventing users from creating tables in certain dbs. R D <mrk279@yahoo.com>
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