| От | Tom Lane |
|---|---|
| Тема | Re: Permissions within a function |
| Дата | |
| Msg-id | 24219.1103318696@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Permissions within a function (Thomas Hallgren <thhal@mailblocks.com>) |
| Ответы |
Re: Permissions within a function
|
| Список | pgsql-hackers |
Thomas Hallgren <thhal@mailblocks.com> writes:
> I don't think a view would help much. I want to completely prevent the
> user from viewing or changing any data stored in the table. Using a view
> would just move the problem. Now the user must have select access to the
> view in order to call the function and that is just as bad.
Just out of curiosity, why use a table at all, if you intend to forbid
all SQL-level access to it? Seems to me that what you want is either
a table (C array) hard-wired in the code, or a configuration file.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера