HowTo grant http access to an Oracle Database User...


As SYS User:

BEGIN
  DBMS_NETWORK_ACL_ADMIN.CREATE_ACL(acl        => '<NAME>.xml',
                                    description => Http-Access',
                                    principal  => '<USERNAME>',
                                    is_grant    => true,
                                    privilege  => 'connect');

  DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(acl      => '<NAME>.xml',
                                      principal => '<USERNAME>',
                                      is_grant  => true,
                                      privilege => 'resolve');

  DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL(acl  => '<NAME>.xml',
                                    host => '<HTTP-SERVER>');
END;

Last update:
2014-10-02 14:44
Author:
Andreas Vogler
Revision:
1.0
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.