Re: Limiting user access to a view only

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема Re: Limiting user access to a view only
Дата
Msg-id 409915FD.5070702@bigfoot.com
обсуждение исходный текст
Ответ на Limiting user access to a view only  ("Richard Colman" <colman@uci.edu>)
Список pgsql-admin
Richard Colman wrote:
> I am a novice in this area.>> How would I set up a new user on PostgreSQL so that the new user is
limited> to reading a particular view, and can do nothing else.

Hi,
first of all create the user as no a super user, after use the
GRANT  command ( http://www.postgresql.org/docs/7.4/interactive/sql-grant.html )


in your case:

GRANT SELECT ON <view_name> TO <user_name>



Regards
Gaetano Mendola






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

Предыдущее
От: "Sally Sally"
Дата:
Сообщение: postgres mirroring (real-time)
Следующее
От: Robert Treat
Дата:
Сообщение: Re: Tool to compare db schemas?