How To Stop A Proxy User From Dropping Tables
Last updated on NOVEMBER 22, 2016
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.4 to 126.96.36.199 [Release 10.2 to 11.1]
Information in this document applies to any platform.
Checked for relevance on 07-Jun-2013
Whenever a proxy user connects to the database , the user gets the privileges of a session user and sometimes it is necessary to restrict the operations performed by the proxy user(ex:dropping table) .
Consider the following example in which U1 is a session user, U2 is the proxy user, TU1 is a table owned by U1:
create user u1 identified by u1;
create user u2 identified by u2;
alter user u1 grant connect through u2;
grant connect,resource to u1;
create table tu1(a number);
drop table tu1;
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms