Re: code to load tracefile into CLOB?

  • From: Jeremy Schneider <jeremy.schneider@xxxxxxxxxxxxxx>
  • To: pete@xxxxxxxxxxxxxxxx
  • Date: Thu, 18 Aug 2011 10:06:15 -0500

Hi Pete - thanks for pointing this out, something I hadn't completely
thought through yet (and your blog post covers it well).

In this particular case, anybody with a database login already has the
ability to see all of the data.  Most access control is done through a
middle-tier, and relatively few people actually have database login
credentials (mainly developers).  And since they would only be able to see
files in the bdump or udump directories, they shouldn't be able to
manipulate the script to see other OS files which they shouldn't access.  So
I think that in this particular case, the code wouldn't be opening up a new
security risk...  but definitely something I'll keep mulling over.


On Thu, Aug 18, 2011 at 9:29 AM, Pete Finnigan <pete@xxxxxxxxxxxxxxxx>wrote:

> Hi Jeremy,
> There used to be some free PL/SQL code from Miracle - there is a link
> here but its
> broken. If anyone from Miracle is on the list perhaps they can advise
> whether its still around or not.
> Obviously also think about the security implications of what you are
> doing. When someone creates a trace for a specific purpose thats fine
> but you can also dump lots of other stuff with ALTER SESSION - have a
> look at this
> for some ideas.
> cheers
> Pete
> Jeremy Schneider wrote:
> > Just wondering...  does anyone out there have a snippit of code that
> > will load a 10046 trace file from bdump or udump into a LOB?  Just
> > looking for a quick and dirty way to give some developers access to
> > tracefiles (without requiring unix logins).  Didn't see any code samples
> > with a quick google search, so I'm about to code it myself - just
> > thought I'd ask first.
> >
> > -Jeremy
> >
> --
> Pete Finnigan
> CEO and Founder
> Limited
> Specialists in database security.
> Makers of PFCLScan the database security auditing tool.
> Makers of PFCLObfuscate the tool to protect IPR in your PL/SQL
> If you need help to audit or secure an Oracle database, please ask for
> details of our training courses and consulting services
> Phone: +44 (0)1904 791188
> Fax  : +44 (0)1904 791188
> Mob  : +44 (0)7759 277220
> email: pete@xxxxxxxxxxxxxxxx
> site :
> Registered Office: 9 Beech Grove, Acomb, York, YO26 5LD, United Kingdom
> Company No       : 4664901
> VAT No.          : 940668114
> Please note that this email communication is intended only for the
> addressee and may contain confidential or privileged information. The
> contents of this email may be circulated internally within your
> organisation only and may not be communicated to third parties without
> the prior written permission of Limited.  This email is
> not intended nor should it be taken to create any legal relations,
> contractual or otherwise.

+1 312-725-9249

Jeremy Schneider

Other related posts: