Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Block user access to table

user13045898Jul 26 2013 — edited Jul 31 2013

Hi,

may be an easy question, but have not managed to find an answer yet.

I have a table MYTABLE and I have a view MYVIEW.

MYVIEW is set up as:

create or replace force view MYVIEW

as select * from MYTABLE

Is it possible to restrict direct access to MYTABLE so that users cannot run a select * from MYTABLE, but they can view the results only if they run select * from MYVIEW?

Thanks very mucyh in advance

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 28 2013
Added on Jul 26 2013
12 comments
1,950 views