utl_file_dir

181. QUESTION 15
In your www.data-lab.org production database, you find that the database users are able to create and read files with unstructured data, available in any location on the host machine from an application.
You want to restrict the database users to access files in a specific location on the host machine.
What could do to achieve this?
A> Modify the value for the UTL_FILE_DIR parameter in the parameter file
B> Grant read and write privilege on the operating system path to the database users
C> Modify the value for the LDAP_DIRECTORY_ACCESS parameter in the parameter file
D> Modify the value for the PLSQL_NATIVE_LIBRARY_DIR parameter in the parameter file
E> Create a directory object referring to the

Answer:   A


UTL_FILE_DIR

PropertyDescription
Parameter typeString
SyntaxUTL_FILE_DIR = pathname
Default valueThere is no default value.
ModifiableNo
Range of valuesAny valid directory path

UTL_FILE_DIR lets you specify one or more directories that Oracle should use for PL/SQL file I/O. If you are specifying multiple directories, you must repeat theUTL_FILE_DIR parameter for each directory on separate lines of the initialization parameter file.

All users can read or write to all files specified by this parameter. Therefore all PL/SQL users must be trusted with the information in the directories specified by this parameter.

Note:

If you list multiple values, all entries of this parameter must be on contiguous lines of the parameter file. If you separate them with other parameters, Oracle will read only the last (contiguous) lines.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值