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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: PUBLIC grants

Re: PUBLIC grants

From: rjamya <rjamya_at_gmail.com>
Date: Fri, 2 Jun 2006 06:58:51 -0400
Message-ID: <9177895d0606020358i71a976aei9bb36d84242754eb@mail.gmail.com>


sqlplus /nolog
connect / as sysdba
create view user_to_block.table_to_block as select * from owner.table_to_block where 1=2;

wouldn't that work? unless of course user_to_block accesses all objects prefixed with object_owner, then you are hosed ... well perhaps not, you can use VPD to still apply 1=2 dynamically too.

so, there you go, two solutions.
Raj

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Jun 02 2006 - 05:58:51 CDT

Original text of this message

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