Re: [ADMIN] Regarding access to a user

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: [ADMIN] Regarding access to a user
Дата
Msg-id 48ABD192.EE98.0025.0@wicourts.gov
обсуждение исходный текст
Ответ на Regarding access to a user  (Shashwat_Nigam <Shashwat_Nigam@satyam.com>)
Ответы Re: [ADMIN] Regarding access to a user
Список pgsql-general
>>> Shashwat_Nigam <Shashwat_Nigam@satyam.com> wrote:

> Now what I want is to set privilege that whenever the user log in as
Us
> he can only see database Y, none other than that. The user Us could
have all
> rights for database Y but can't  go for any other database (X or Z).

The first thing you need to do is configure "host based
authentication":

http://www.postgresql.org/docs/8.3/interactive/auth-pg-hba-conf.html

Among other things, this allows you to restrict which users can
connect to which databases.

-Kevin

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

Предыдущее
От: Tino Wildenhain
Дата:
Сообщение: Re: SELECT query experts, anyone?
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Fwd: Restarting with pg_ctl, users, and passwords.