pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Fetter <david@fetter.org>
To: Bill Moran <wmoran@collaborativefusion.com>
Cc: Greg Smith <gsmith@gregsmith.com>
Cc: Jonathan Bond-Caron <jbondc@openmv.com>
Cc: Postgres General List <pgsql-general@postgresql.org>
Subject: Re: Obfuscated stored procedures (was Re: Oracle and Postgresql)
Date: Mon, 15 Sep 2008 17:50:25 -0700
Message-ID: <20080916005025.GE3666@fetter.org> (raw)
In-Reply-To: <20080915202922.1778a062.wmoran@collaborativefusion.com>
References: <41c1fa08-86a0-4023-acaa-d838d5b0abf8@i24g2000prf.googlegroups.com>
	<48BB040E.3040108@earlham.edu>
	<48C5C394.1070602@gmail.com>
	<819df3760809131924o4ec38ebetfde7cd890767b1a9@mail.gmail.com>
	<1A6E6D554222284AB25ABE3229A9276201A1993B@nrtexcus702.int.asurion.com>
	<20080915135847.GF3666@fetter.org>
	<7be3f35d0809150731k575bf7aajc689a4278176b1a8@mail.gmail.com>
	<000001c91748$af9288b0$0eb79a10$@com>
	<Pine.GSO.4.64.0809151818430.26261@westnet.com>
	<20080915202922.1778a062.wmoran@collaborativefusion.com>

On Mon, Sep 15, 2008 at 08:29:22PM -0400, Bill Moran wrote:
> Greg Smith <gsmith@gregsmith.com> wrote:
> > 
> > The problem here is that the PostgreSQL community is fully aware
> > how bogus any encryption method is and doesn't even bother, while
> > Oracle is perfectly happy selling a solution that is easily
> > bypassed.  Don't get me wrong--the work involved is just difficult
> > enough that I'm sure most PL/SQL procedures are quite safe from
> > being reversed, and what you get back again will be kind of crummy
> > code, so that's good enough for your typical ISV.  But the
> > security doesn't stand up to simple scrutiny, and a highly visible
> > open-source project doing the same quality of implementation would
> > receive seriously bad press for releasing something so shoddy.
> > PostgreSQL would be compelled to name it something like
> > "half-assed obfuscation" in order to make it clear just how
> > limited the protection actually is, and then you've kind of lost
> > the sales pitch that motivated the feature in the first place.
> 
> I don't understand why this is so bloody difficult to implement:

First, make a case for implementing PL obfuscation under any
circumstances.

While you are making your case, please bear in mind that security by
obscurity is in effect an attack launched from that nastiest of places
to have an attacker, the inside of your trust boundaries.

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate



view thread (31+ messages)  latest in thread

Message-ID: <20080916005025.GE3666@fetter.org>
Permalink:  ../20080916005025.GE3666@fetter.org/
Also on:    postgresql.org/message-id/20080916005025.GE3666@fetter.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: david@fetter.org, wmoran@collaborativefusion.com, gsmith@gregsmith.com, jbondc@openmv.com
  Subject: Re: Obfuscated stored procedures (was Re: Oracle and Postgresql)
  In-Reply-To: <20080916005025.GE3666@fetter.org>
  References: <41c1fa08-86a0-4023-acaa-d838d5b0abf8@i24g2000prf.googlegroups.com> <48BB040E.3040108@earlham.edu> <48C5C394.1070602@gmail.com> <819df3760809131924o4ec38ebetfde7cd890767b1a9@mail.gmail.com> <1A6E6D554222284AB25ABE3229A9276201A1993B@nrtexcus702.int.asurion.com> <20080915135847.GF3666@fetter.org> <7be3f35d0809150731k575bf7aajc689a4278176b1a8@mail.gmail.com> <000001c91748$af9288b0$0eb79a10$@com> <Pine.GSO.4.64.0809151818430.26261@westnet.com> <20080915202922.1778a062.wmoran@collaborativefusion.com> <20080916005025.GE3666@fetter.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox