Assume that the user receiving the error is SCOTT.
In this case a checklist should be created for the SCOTT user.
You can use the following procedure for this.
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 |
BEGIN --Daha önceden network_servisi.xml ACL oluşturuldu ise aşağıdaki satırın aktif hale getirin. --DBMS_NETWORK_ACL_ADMIN.DROP_ACL('network_servisi.xml'); DBMS_NETWORK_ACL_ADMIN.CREATE_ACL( acl => 'network_servisi.xml', description => 'ORCL ACL', principal => 'SCOTT', is_grant => true, privilege => 'connect'); DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE( acl => 'network_servisi.xml', principal => 'SCOTT', is_grant => true, privilege => 'resolve'); DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL( acl => 'network_servisi.xml', host => '*'); COMMIT; END; |