Remove ACL and privileges, Drop ACL in oracle
Remove ACL and privileges, Drop ACL in oracle
See the Network and ACL assignments as below -
o Unassign ACL
dbms_network_acl_admin.unassign_acl(
acl => 'utl_mail_test.xml',
host => '172.16.20.18',
lower_port => 25,
upper_port => NULL
);
commit;
end;
/
begino Remove Privilege (In ACL principals - Users, privileges - right)
dbms_network_acl_admin.delete_privilege (
acl => 'utl_mail_test.xml',
principal => 'FINN',
is_grant => TRUE,
privilege => 'connect'
);
commit;
end;
/
dbms_network_acl_admin.drop_acl (
acl => 'utl_mail_test.xml'
);
commit;
end;
o Drop ACL
dbms_network_acl_admin.drop_acl (
acl => 'utl_mail_test.xml'
);
commit;
end;
/
Some more articles you
might also be interested in :-
Create and configure ACL in oracle database
The common errors during ACL configuration
Comments
Post a Comment