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: Oracle Views and Permissions

Re: Oracle Views and Permissions

From: Tony Andrews <andrewst_at_onetel.com>
Date: 12 Jul 2005 08:09:12 -0700
Message-ID: <1121180952.830732.142040@g49g2000cwa.googlegroups.com>


Johne_uk wrote:
> If I have a Table X in Schema A with 1000 rows spilt between 3
> companies (company_id 1,2,3).
>
> I then create a view called Y in Schema B which is a Read Only View of
> table X but only for rows where company_id = 3.
>
> To create this view Schema B must have a SELECT privilege on Table X.
>
> The problem is that, by assigning this select priv Schema B can now
> view ALL rows in Table X directly and bypass the view.
>
> Is there any way to prevent this by allowing access only to the view
> and not the underlying table with company 1,2 data that is
> confidential.
>
> I'm using Oracle 8.1.7.4
>
> Thanks for the help

Create the view in schema A and then grant select on that view to schema B. Received on Tue Jul 12 2005 - 10:09:12 CDT

Original text of this message

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