Skip to content

Instantly share code, notes, and snippets.

@maniac787
Created June 5, 2020 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maniac787/27c87e5d6bb8f9e0f50d328b73c1d70a to your computer and use it in GitHub Desktop.
Save maniac787/27c87e5d6bb8f9e0f50d328b73c1d70a to your computer and use it in GitHub Desktop.
select * from dba_network_acls order by acl, host;
select * from dba_network_acl_privileges order by acl, aclid, privilege;
BEGIN
DBMS_NETWORK_ACL_ADMIN.APPEND_HOST_ACE
(
host => '127.0.0.1',
lower_port => null,
upper_port => null,
ace => xs$ace_type(privilege_list => xs$name_list('jdwp'),
principal_name => 'system',
principal_type => xs_acl.ptype_db)
);
END;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment