Re: problems with user rights

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: problems with user rights
Дата
Msg-id 2EE9A7E0-A11C-11D9-A2E3-000A95B03262@pgedit.com
обсуждение исходный текст
Ответ на Re: problems with user rights  (Zouari Fourat <fourat@gmail.com>)
Ответы Re: problems with user rights
Список pgsql-admin
> i've just added a new user called xxx :
>
> create user xxx with password zzz;
>
> now am creating it's database :
>
> create database db_xxx with owner xxx;
>
> it works fine althought when logging with the user xxx i can still
> view other databases contents  especially pg_catalog schems.
>
> is it the right way to add a user ? am i wrong ?
> i dont want to let my new user view the others databases on the server.

Viewing the information in the system catalogs is open to all users.
There is not a way to hide it unless you build an interface on top of
PostgreSQL that limits the queries the user can execute.

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


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

Предыдущее
От: Zouari Fourat
Дата:
Сообщение: Re: problems with user rights
Следующее
От: Marco Carvalho
Дата:
Сообщение: multiple servers updating from/to one