Schema's, roles and privileges

Поиск
Список
Период
Сортировка
От Michael Gould
Тема Schema's, roles and privileges
Дата
Msg-id 803af4645647a59bcb56badac2b1cd8f@intermodalsoftwaresolutions.net
обсуждение исходный текст
Ответ на Re: Profiling tool for postgres under win32  (Craig Ringer <craig@postnewspapers.com.au>)
Ответы Re: Schema's, roles and privileges  (Adrian Klaver <aklaver@comcast.net>)
Список pgsql-sql
I have a database with a schema called ISS. This is where all of our
application definitions are stored. We did add 2 contribute modules (citext)
and guid generator and both of these by default went to the public schema.
It is our intent to not allow any access to public by our users.

A few questions

1. Can I reinstall the contrib modules in the ISS schema only or do they
need to be in the public schema

2. If they need to stay in the public schema and I don't want to give any
insert, update, delete or select access to public, can I revoke those
privileges and just give execute on the functions that were added by the
contrib module.

3. If I can reinstall the contrib modules in the application schema, can I
delete the public schema or does it still need to be there and I would just
revoke all except for the superuser id which would be for our installer or
tech support if needed. We have a separate userid for the security
administrator. All of the functions that the security administrator needs
are provided by a application module and they will not be directly accessing
the database via a SQL utility at all.

Best Regards


--
Michael Gould, Managing Partner
Intermodal Software Solutions, LLC
904.226.0978
904.592.5250 fax





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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Profiling tool for postgres under win32
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Schema's, roles and privileges