Re: How to prevent users from creating tables

Поиск
Список
Период
Сортировка
От Milen A. Radev
Тема Re: How to prevent users from creating tables
Дата
Msg-id gmat64$unq$1@ger.gmane.org
обсуждение исходный текст
Ответ на How to prevent users from creating tables  (raf <raf@raf.org>)
Ответы Re: How to prevent users from creating tables  (raf <raf@raf.org>)
Список pgsql-admin
raf написа:
> hi,
>
> in my database, normal users can't select, insert, update or
> delete anything directly. they can only call functions which
> are all security defining functions which give access to the
> data. that's the way i like it.
>
> however, i discovered that normal users can create new
> tables in the database. is there any way to prevent this?
> i couldn't find any grant/revoke syntax in the doco that
> looked relevant.
[...]

You need to revoke the "CREATE" privilege for the schema(s) in question
(http://www.postgresql.org/docs/current/static/sql-grant.html#SQL-GRANT-DESCRIPTION-OBJECTS).


--
Milen A. Radev

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Daniel J. Summers"
Дата:
Сообщение: Re: Permissions to a schema
Следующее
От: "Benjamin Krajmalnik"
Дата:
Сообщение: Re: Totally inappropriate by-line for a major representative of this organization