pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: M.L.Bowman <M.L.Bowman@ukc.ac.uk>
To: pgsql-general@postgresql.org
Cc: M.L.Bowman@ukc.ac.uk
Subject: User privileges
Date: Wed, 24 Apr 2002 14:20:52 +0100
Message-ID: <E170MhY-0006A7-00@myrtle.ukc.ac.uk> (raw)

Hello,
 
I have created a database (testdb) and given users trusted access to it
from a single machine.
    host    testdb   xxx.xxx.xxx.xxx   255.255.225.225	 trust
xxx.xxx.xxx.xxx is substituted with the real IP address

A user does not have, by default, any access to tables and is dependent
upon the database owner to grant them.  The database owner has created
tables and granted various access permissions to users for those
tables. This all works as expected.

What I didn't anticipate was that users , by default, would be able to create
tables within this database and grant access permissions on them. 
I do not want this functionality and need to switch it off somehow.
I have looked for ways to do this within the sql commands CREATE DATABASE 
and GRANT, but cannot find anything. 

1. How can I deny  users the ability to create tables within a database
   yet still allow them access to existing tables created by the
   database owner ?


Your help would be most appreciated.

Many Thanks
Maggie





view thread (12+ messages)  latest in thread

Message-ID: <E170MhY-0006A7-00@myrtle.ukc.ac.uk>
Permalink:  ../E170MhY-0006A7-00@myrtle.ukc.ac.uk/
Also on:    postgresql.org/message-id/E170MhY-0006A7-00@myrtle.ukc.ac.uk

 · 

reply

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-general@postgresql.org
  Cc: M.L.Bowman@ukc.ac.uk
  Subject: Re: User privileges
  In-Reply-To: <E170MhY-0006A7-00@myrtle.ukc.ac.uk>
  References: <E170MhY-0006A7-00@myrtle.ukc.ac.uk>

* 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