Re: How to hide stored procedure's bodies from specific user
В списке pgsql-general по дате отправления:
| От | Berend Tober |
|---|---|
| Тема | Re: How to hide stored procedure's bodies from specific user |
| Дата | |
| Msg-id | 54DF5C68.8070506@computer.org обсуждение исходный текст |
| Ответ на | Re: How to hide stored procedure's bodies from specific user (Guillaume Lelarge <guillaume@lelarge.info>) |
| Список | pgsql-general |
Guillaume Lelarge wrote: > 2015-02-14 14:07 GMT+01:00 Berend Tober <btober@broadstripe.net > <mailto:btober@broadstripe.net>>: > > Saimon Lim wrote: > > Thanks for your help > > I want to restrict some postgres users as much as possible and allow > them to execute a few my own stored procedures only. > > > Create the function that you want restrict access to in a separate > 'private' schema to which usage is not granted. > > Create the functions you wish to allow access to in a schema to > which the role is granted access to. ... > > Unless I misunderstood something, this doesn't protect at all the > function source code. You can still get it by reading pg_proc. > Agreed, but he already knows about that and how to mitigate.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера