Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Is this a valid use of Fine Grained Access Control (row level security)?
hourman wrote:
<snip>
> We have 2 options:
> 1 - edit 100 pages and add where clause each time ELECT table is referenced
> passing year selected on login. (we estimate 11 days to complete)
>
> 2 - use fine grained access control. We create a policy on ELECT table that
> limits on year. We create an app context and procedure. when users login and
> select a year we change the predicate so that ELECT table now just has year
> selected (hiding all other years). Since we kept old key and just added year
> to create compond key, relationships with other tables is maintained.(we have
> code altready).
>
> Is this valid? Am i asking for trouble. Is it an invalid or wierd use of
> FGAC?
You should be aware that Option 2 may have a significant impact on
performance. FGAC has to execute a PL/SQL function, modify the query
and parse every time you query that table now. Option 1 would avoid
that. In some situations, I've since FGAC add 30% overhead to an
application.
Good Luck,
Richard Kuhler
Received on Mon Jul 28 2003 - 18:46:39 CDT