Received: (qmail 9814 invoked from network); 16 Dec 2008 09:03:55 -0600
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by static-ip-85-25-126-90.inaddr.intergenia.de with SMTP; 16 Dec 2008 09:03:55 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id BA89EB30686;
 Tue, 16 Dec 2008 10:03:54 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 06762-05; Tue, 16 Dec 2008 10:03:54 -0500 (EST)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 33B78B3035C;
 Tue, 16 Dec 2008 10:03:54 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Tue, 16 Dec 2008 10:01:50 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])	by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 0B68CB3068B	for <oracle-l@freelists.org>; Tue, 16 Dec 2008 10:01:50 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])	by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)	with ESMTP id 06484-08 for <oracle-l@freelists.org>;	Tue, 16 Dec 2008 10:01:49 -0500 (EST)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156])	by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 5C589B30687	for <oracle-l@freelists.org>; Tue, 16 Dec 2008 10:01:48 -0500 (EST)
Received: by fg-out-1718.google.com with SMTP id d23so1411315fga.32        for <oracle-l@freelists.org>; Tue, 16 Dec 2008 07:01:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=gamma;        h=domainkey-signature:received:received:message-id:date:from:sender         :to:subject:cc:mime-version:content-type:content-transfer-encoding         :content-disposition:x-google-sender-auth;        bh=d5RZsbmKtO5AQ16Q8jPhdgIRtYrrz2FbKRB7w8w2VdI=;        b=cJozFjTlQfNMwACAwBeoY2xO/TIFse8Qkk532JeR2lBDwu08XKgMXImUdxKTavrjXj         DF7agWIV50gJVxUTx2YMSyPAlwCzOKb3cz2TZecS+piLcY/xrq82sUmpmFME5CzVr2LJ         XUvPUpsY6z0gJ7HrKDEdzrJuI3hGrkCB2D+K8=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;        h=message-id:date:from:sender:to:subject:cc:mime-version:content-type         :content-transfer-encoding:content-disposition:x-google-sender-auth;        b=UseFmPxK7jM/RwR3ehilbUGjrzc0TqbmBGLAaymb7rtRm3gcsd+xUOHQ6LnX/rPps1         sYbDKoGRY2rrY8pBQpSNju1oJ8bNepymqpXOco9GA/vlzW+DPuiMY7IUsqAAWjgTEj5M         Vfuo1ghh7x9xfcCA4N4eUNt/2i+TOz4A3hGhQ=
Received: by 10.86.59.18 with SMTP id h18mr4669911fga.35.1229439706234;        Tue, 16 Dec 2008 07:01:46 -0800 (PST)
Received: by 10.86.3.8 with HTTP; Tue, 16 Dec 2008 07:01:46 -0800 (PST)
Message-ID: <5630dadb0812160701l3d837edbg8e2823cb5f7c8d89@mail.gmail.com>
Date: Tue, 16 Dec 2008 15:01:46 +0000
From: "oracle@ukcert.org.uk" <oracle@ukcert.org.uk>
To: oracle-l@freelists.org, niall.litchfield@gmail.com
Subject: Re: Alternatives to using utl_file
Cc: paul.wright@oracleforensics.com
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Google-Sender-Auth: 305b91b32cbffaa4
X-archive-position: 13387
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: oracle@ukcert.org.uk
Precedence: normal
Reply-to: oracle@ukcert.org.uk
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain

Hello Niall,
I have written a "CREATE_DIRECTORY" package which is a security
controlled implementation of CREATE ANY DIRECTORY specially for this
purpose..
http://www.oracleforensics.com/wordpress/index.php/create_directory/
Feel free to use it and send me improvements.
Cheers,
Paul

>still a security nightmare, but you could grant 'CREATE ANY DIRECTORY' to
>your application account and then create the directory object at runtime as
>well.

On Tue, Dec 16, 2008 at 2:01 PM, John Dunn <JDunn@sefas.com> wrote:

> OK, thanks
>
> The biggest issue I have with utl_file is needing to define utl_file_dir=
>
> Since the directories we need to access are not known till run time we have
> to specify utl_file_dir=*, which is a security nightmare.
>
>
>
>
> **
>
> *John *
>
--
http://www.freelists.org/webpage/oracle-l


