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: M(dot)Boekhold(at)ITS(dot)TUDelft(dot)NL, pgsql-general(at)postgreSQL(dot)org, pgsql-admin(at)postgreSQL(dot)org
Subject: Re: [ADMIN] security on line by line basis
Date: 1998-07-19 15:27:02
Message-ID: Pine.SUN.3.91.980719172245.24093A-100000@dutepp0.et.tudelft.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

On Sun, 19 Jul 1998, Lorenzo Huerta wrote:

>
>
> hmm is there another way of doing it as that sounds a little costly,
> as so far database is at 2MB of data and
> increases daily

Dunno, as far as I know unions are pretyy efficient. An the other hand,
you could ofcourse do the following:

Add a column to the table which describes additional priviledges.
Write a trigger that uses that column and the current user-name to
determine whether a row should be returned.

Ah, just remembered, that won't work, cos you cannot define a trigger on
a select. Damned....

I don't know why Vadim didn't implement it, maybe it's just too dificult
to do, but I think there are certainly uses for such a trigger. Something
for 6.4???

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 ksjeong 1998-07-20 07:35:00
Previous Message Lorenzo Huerta 1998-07-19 15:04:18 Re: [ADMIN] security on line by line basis

Browse pgsql-general by date

  From Date Subject
Next Message Przemyslaw Bak 1998-07-19 17:25:37 Outer inner join
Previous Message Lorenzo Huerta 1998-07-19 15:04:18 Re: [ADMIN] security on line by line basis