Good points, also consider the security issues that exist because of 'util_file_dir=*'.
With that, any user that can run a procedure and write (or overwrite) files in 
locations that should be accessible only by oracle.


>>> [EMAIL PROTECTED] 03/14/03 07:08AM >>>
John,

In 9i, Oracle is recommending that you make use of 'CREATE DIRECTORY' rather
than UTL_FILE_DIR ... firstly because a directory can be created
dynamically, so to adda new sub-directory you don't have to bounce the
instance.

Plus instead of '*', you can dynamically create directory ... read/write and
drop the directory if you wish.

I'd recommend you make use of this feature John, because UTL_FILE_DIR might
just go away .... because of its limitations.

Raj
-------------------------------------------------------------
Rajendra dot Jamadagni at espn dot com
Any views expressed here are strictly personal.
QOTD: Any clod can have facts, having an opinion is an art !!


-----Original Message-----
Sent: Friday, March 14, 2003 4:44 AM
To: Multiple recipients of list ORACLE-L


In 8i we set utl_file_dir = "*" because otherwise we have to specify lots of
individual directories. It was not possible to just specify a top level
directory.

Has this changed in 9i?   Is it possible to specify a top level directory
and then utl_file  can write to subdirectories?

John


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net 
-- 
Author: John Dunn
  INET: [EMAIL PROTECTED] 

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com 
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Darrell Landrum
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to