Re: [ADMIN] security on line by line basis

From: Maarten Boekhold <maartenb(at)dutepp0(dot)et(dot)tudelft(dot)nl>
To: Lorenzo Huerta <lorhuerta(at)yahoo(dot)com>
Cc: pgsql-general(at)postgreSQL(dot)org, pgsql-admin(at)postgreSQL(dot)org
Subject: Re: [ADMIN] security on line by line basis
Date: 1998-07-17 14:35:41
Message-ID: Pine.SUN.3.91.980717163456.2667E-100000@dutepp0.et.tudelft.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

On Fri, 17 Jul 1998, Lorenzo Huerta wrote:

>
> hey folks
>
> is there a way to set postgres 6.3 up to do security on a record by
> record basis?
> See what i am doing is createing a database that needs several
> levels of security
> admin - total access to databasee
> sub-admin - total access to database except for the first 2 and
> last 2 entries in the database
> group-admin - access to only a piece of the database based on
> criteria
>
> can i create a rule and have grant and revoke privs based on that
> rule?

You can create 3 tables, and then make 2 views: one for the admin, one
for the sub-admin, using union's....

Maarten

_____________________________________________________________________________
| TU Delft, The Netherlands, Faculty of Information Technology and Systems |
| Department of Electrical Engineering |
| Computer Architecture and Digital Technique section |
| M(dot)Boekhold(at)et(dot)tudelft(dot)nl |
-----------------------------------------------------------------------------

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Lorenzo Huerta 1998-07-19 15:04:18 Re: [ADMIN] security on line by line basis
Previous Message Lorenzo Huerta 1998-07-17 14:19:43 security on line by line basis

Browse pgsql-general by date

  From Date Subject
Next Message Konstantinos Vassiliadis 1998-07-17 14:55:16 Loading shared object files into Postgres
Previous Message Lorenzo Huerta 1998-07-17 14:19:43 security on line by line basis