Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Switch off Fine Grained Access Control within database packaged procedures

Re: Switch off Fine Grained Access Control within database packaged procedures

From: Neil <someone_at_microsoft.com>
Date: Tue, 23 Mar 2004 15:17:59 -0000
Message-ID: <405fe4aa@cpns1.saic.com>

"Brian Peasland" <dba_at_remove_spam.peasland.com> wrote in message news:406051CA.97119C24_at_remove_spam.peasland.com...
> Neil wrote:
> >
> > <snip>
> >
> > > Exactly what problem are you facing?
> > >
> > > HTH -- Mark D Powell --
> >
> > A simplified example (i hope!)
> >
> > I have a parts catalogue with a policy that restricts part/serial
numbers by
> > supplier
> > A time based life information table for each part/serial number has a
> > similar policy.
> >
> > I have a form that shows me time based information for my part/serial.
> >
> > eg
> > Date : dd-MON-yyyy
> >
> > Part Number Serial Number
> > Life Info
> > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
99999999
> > 99999999 99999999
> >
> > I use a procedure to get this time based information.
> >
> > When i execute a query on the parts catalogue, a predicate gets built
and i
> > see only my part/serial numbers. This is fine.
> > A Post Query has a call to the procedure to retrieve the life usage
> > information relevant to the date entered
> > I dont want the procedure to use FGAC, since i already know i can see
the
> > part/serial number as it's already been applied to the base table and i
am
> > passing the part/serial into the procedure.
> >
> > Clear as mud?
> >
> > Neil
>
> So you have a table which has FGAC to define which data you can and
> can't see. And you want to be able to see data that you are not
> currently allowed to see. Is that correct?
>

No, the same policy is applied to all the tables What is causing the problem is the fundamental one caused by FGAC ie performance.
Since i have already restricted the data i am authorised to see i don't need the
policy to be applied when i call the function

> IMO, your security model needs to accurately reflect the requirements of
> your job. If you are supposed to be able to see this data, then the FGAC
> policy should be adjusted accordingly. If you are not supposed to see
> this data, then the FGAC policy is doing what it should. In either case,
> it is probably not the procedure you are using that needs to be fixed.
>
> Cheers,
> Brian
>
>
> --
> ===================================================================
>
> Brian Peasland
> dba_at_remove_spam.peasland.com
>
> Remove the "remove_spam." from the email address to email me.
>
>
> "I can give it to you cheap, quick, and good. Now pick two out of
> the three"
Received on Tue Mar 23 2004 - 09:17:59 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US