1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
| begin dbms_network_acl_admin.create_acl ( acl => 'httprequestpermission.xml', description => 'HTTP Access', principal => 'user', is_grant => TRUE, privilege => 'connect', start_date => null, end_date => null ); commit; end; begin dbms_network_acl_admin.add_privilege ( acl => 'httprequestpermission.xml', principal => 'user', is_grant => TRUE, privilege => 'resolve', start_date => null, end_date => null ); commit; end; begin dbms_network_acl_admin.assign_acl ( acl => 'httprequestpermission.xml', host => '127.0.0.1', lower_port => 389, upper_port => Null ); commit; end;
|