| От | Josh Berkus |
|---|---|
| Тема | Re: Security, IP and username restrictions |
| Дата | |
| Msg-id | 200207241046.08464.josh@agliodbs.com обсуждение исходный текст |
| Ответ на | Security, IP and username restrictions ("Tuomas Vanhanen" <Tuomas@TuomasVanhanen.com>) |
| Список | pgsql-novice |
Tuomas, > I have a situation where same user accessing the database from different > locations (IP addresses) must have different user rights. This means, that > same user in different locations would see different ammount of data. I know > I can build this easily to the web based front-end, but I´d like to make the > restriction in Postgres too. This is not currently implemented in Postgres. Currently, pg_hba.conf restricts IP address access, and user rights in the database define individual table access. These two security mechanisms do not interact. As such, you will need to use a custom solution in either your front-end code, or by using the PostgreSQL RULEs system to restrict access. -- -Josh Berkus Aglio Database Solutions San Francisco
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера