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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Using Oracle Roles?

Re: Using Oracle Roles?

From: Douglas Scott <Douglas.S.Scott_at_boeing.com>
Date: 1997/10/08
Message-ID: <343B84D7.2D424AF@boeing.com>#1/1

Ken Denny wrote:

> Douglas Scott wrote:
> >
> > Can anyone point me to a third party product or information on using
> > Oracle roles within an application? What I would like to do which I
> > heard is possible is to set up roles with database privileges so that
> > when a user runs a particular application they will have all the
> > necessary table privileges needed by the application and when they exit
> > the application all the privileges go away.
> > --
> >
> > Douglas Scott
> > Douglas.S.Scott_at_boeing.com
>
> You can do what Thomas Vanya suggested having a non-default role which
> is enabled with a password. Another approach is for your application to
> use stored procedures/packages to do its updating. Packages and
> procedures execute with the privileges of their owner rather than the
> user who called them. That way a user might have no update privileges
> but might have execute privileges on a procedure which updates.
>
> Hope this helps
> Ken Denny
> kendenny_at_bnr.ca (work)
> kdenny_at_interpath.com (home)

How would you handle privileges on base tables in a form with roles then?

--

Douglas Scott
Douglas.S.Scott_at_boeing.com
Received on Wed Oct 08 1997 - 00:00:00 CDT

Original text of this message

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