Preventing the schema from being revealed.

Поиск
Список
Период
Сортировка
От Ian FREISLICH
Тема Preventing the schema from being revealed.
Дата
Msg-id 20050406055405.C4AF6534FA@svr1.postgresql.org
обсуждение исходный текст
Список pgsql-admin
Hi

I have quite a complex database system and I want to expose a public
interface to it without exposing my (and my company's) months of
work.

Is there a way to grant usage on a schema so that they can execute
functions without allowing that user to view the structure of the
database and the definitions of all the functions.

Or is the only way to put wrapper functions in the public schema
that are defined 'SECURITY DEFINER' so that they can execute functions
in the api schema, that the public user does not have access to?

I wouldn't mind them viewing the wrapper functions.

--
Ian Freislich

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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: VACUUM and read-mostly tables
Следующее
От: lista@ernstson.nu
Дата:
Сообщение: Re: Trying to use initlocation