Re: Restricting user to see schema structure

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Restricting user to see schema structure
Дата
Msg-id 048ab2c5-ddf6-d039-3c2a-1828d8c9137b@aklaver.com
обсуждение исходный текст
Ответ на Re: Restricting user to see schema structure  (Bryn Llewellyn <bryn@yugabyte.com>)
Ответы Re: Restricting user to see schema structure  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
On 5/12/22 11:29, Bryn Llewellyn wrote:

> I've prototyped this scheme. It seems to work as designed. A client that connects with psql (or any other tool) can
listthe API functions and whatever \df and \sf show. (notice that \d will reveal nothing.)But doing this reveals only
thenames of the functions that are called (which will be identical to the jacket names—so no risk here) and the name(s)
ofthe schema(s) where they live (so a minor theoretical risk here).
 
> 
> Full disclosure: I've never done this in anger.

Try select * from pg_class or select * from pg_attribute or any of the 
other system catalogs.




-- 
Adrian Klaver
adrian.klaver@aklaver.com



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

Предыдущее
От: Bryn Llewellyn
Дата:
Сообщение: Re: Deferred constraint trigger semantics
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Restricting user to see schema structure