Re: [ADMIN] Regarding access to a user

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: [ADMIN] Regarding access to a user
Дата
Msg-id D960CB61B694CF459DCFB4B0128514C20267A8B1@exadv11.host.magwien.gv.at
обсуждение исходный текст
Ответ на Re: [ADMIN] Regarding access to a user  (Shashwat_Nigam <Shashwat_Nigam@satyam.com>)
Список pgsql-general
Shashwat_Nigam wrote:
> Thanks for the help. But still the user is able to see all
> the databases. I defined something like this
>
> # IPv4 local connections:
> host    all         all         127.0.0.1/32          md5
> host    HMRI_database   hmri    127.0.0.1/32          md5
>
>
> in the above case hmri is user and HMRI_database. But still
> when user is log in as 'hmri' it is able to access all the databases.
> Please provide a solution for the same.

Remove the first line, and you'll be fine.

PostgreSQL uses the first line in pg_hba.conf that matches the
incoming connection.

Yours,
Laurenz Albe

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

Предыдущее
От: Ow Mun Heng
Дата:
Сообщение: Re: Interval Formatting -> Convert to timestamp
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: plpgsql - sorting result set