security via views

Поиск
Список
Период
Сортировка
От Enrico Weigelt
Тема security via views
Дата
Msg-id 20050427155202.GA20043@nibiru.borg.metux.de
обсуждение исходный текст
Ответы Re: security via views  (Peter Dockweiler <pdo@wikon.de>)
Re: security via views  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Hi folks,

we've got a larger project with several subsystems, which should
run in their own security context / users.

Most of the database access works over views and functions.
For functions its possible to run them with separate privileges
than the calling user. But is this also possible with views ?
I've noticed that for views also GRANT is necessary (AFAIK a
view is nothing else than a table with appropriate RULEs).
Does it work to grant some user access to his own view, but
not to the tables where the view works on ?


thx
--
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service

  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact@metux.de
  cellphone: +49 174 7066481
---------------------------------------------------------------------
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------

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

Предыдущее
От: Mario Soto Cordones
Дата:
Сообщение: Re: cache lookup failed for function 8044889
Следующее
От: pgsql-admin@rickabaugh.net
Дата:
Сообщение: PostgreSQL 8.0.x on Windows XPe