Revoke dbms_java permission
Query the dba_java_policy table
$sqlplus / as sysdba
SQL>select * from dba_java_policy
KING GRANTEE TYPE SCHEMA TYPE NAME NAME ACTION ENABLED SEQ
GRANT XXPMS SYS java.io.FilePermission * read ENABLED 178
GRANT XXPMS SYS java.io.FilePermission /- read,write ENABLED 181
GRANT XXPMS SYS java.io.FilePermission /bin/ls execute ENABLED 180
Using the SEQ value, you can run the following statement to revoke the granted java permissions
eg: suppose you want to revoke SEQ 178
Query the dba_java_policy table
$sqlplus / as sysdba
SQL>select * from dba_java_policy
KING GRANTEE TYPE SCHEMA TYPE NAME NAME ACTION ENABLED SEQ
GRANT XXPMS SYS java.io.FilePermission * read ENABLED 178
GRANT XXPMS SYS java.io.FilePermission /- read,write ENABLED 181
GRANT XXPMS SYS java.io.FilePermission /bin/ls execute ENABLED 180
Using the SEQ value, you can run the following statement to revoke the granted java permissions
eg: suppose you want to revoke SEQ 178
begin
DBMS_JAVA.disable_permission(178);
DBMS_JAVA.delete_permission(178);
end;
4 comments:
i had face an issue...when I revoke java permission...some of the function based indexes(referring db function which contain java class ) (user_index.FUNCIDX_STATUS0 marked as disable
do I need to rebuild indexes post revoke_permission...
Thanks for your interesting ideas.the information's in this blog is very much useful for me to improve my knowledge.
Software Testing Training in Chennai
Software Training Institutes in Chennai
JAVA Training in Chennai
Python Training in Chennai
Hadoop Training in Chennai
Selenium Training in Chennai
Software Testing Training in Chennai
Software testing training in T Nagar
thanks for sharing such a nice info.I hope you will share more information like this. please keep on sharing!
Big Data Hadoop Training In Chennai | Big Data Hadoop Training In anna nagar | Big Data Hadoop Training In omr | Big Data Hadoop Training In porur | Big Data Hadoop Training In tambaram | Big Data Hadoop Training In velachery
Post a Comment