Re: How to allow users to log on only from my application
В списке pgsql-general по дате отправления:
| От | Shane Ambler |
|---|---|
| Тема | Re: How to allow users to log on only from my application |
| Дата | |
| Msg-id | 45BEF2EE.7070509@007Marketing.com обсуждение исходный текст |
| Ответ на | Re: How to allow users to log on only from my application (Furface <furface@omnicode.com>) |
| Список | pgsql-general |
Furface wrote: > 2. Restricting certain tables to certain users. Well that's easy. You > just use the "grant" command. > > 3. Restricting certain columns of certain tables to certain users. This > would be something like an "approved" or "active" column where only > administrators can set these values. This would have to be done with > triggers and procedures. > What I would do here is break the table in two. One table is where the user enters their data, the other is where the admin enters their's and use privileges to stop the user seeing the admin section. I may think about using an archive table that stores approved timesheets when the admin approves the timesheet, and prevent users access (preventing them from accessing other than current data) -- Shane Ambler pgSQL@007Marketing.com Get Sheeky @ http://Sheeky.Biz
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера