Menu

#6 utl_file Permission

Open
nobody
None
2.3.0
11
2016-01-25
2016-01-06
Harbinder
No

Hi,
On my new project I wanted to introduce utPlsql, but I found out that due to security reasons, we are not allowed access to utl_file. I was able to install utPlsql but the packages like UTGEN, UTASSERT2, UTPLSQL are compalining that 'UTL_FILE' must be declared. Is there a workaround around that.

Thanks in advance.

Harbinder

Discussion

  • Duane Dieterich

    Duane Dieterich - 2016-01-09

    connect as sys
    grant execute on utl_file to utp;

     
  • Paul Walker

    Paul Walker - 2016-01-25

    If they don't want you to have visibility of the utl_file package for security reasons, then I'm guessing you don't have enough access to run Duane's suggestion and the DBA's don't want to run it for you. In that case, I'm afraid I'm struggling to think of any way around that, sorry.

    The only thing I'd mention is that as well as having visibility of the UTL_FILE package, access to the file system is controlled by things like the utl_file_dir control parameter or Oracle's Directory objects - by giving you this, they're not giving you completely unrestricted access to the file system.

    I'll leave this open - maybe someone will think of something else that might help

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.