Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id E3F9764FC32 for ; Wed, 24 Sep 2008 12:05:34 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 34487-02 for ; Wed, 24 Sep 2008 12:05:26 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from fetter.org (start.fetter.org [66.92.188.65]) by postgresql.org (Postfix) with ESMTP id B153664FC2F for ; Wed, 24 Sep 2008 12:05:20 -0300 (ADT) Received: by fetter.org (Postfix, from userid 500) id 87730FBCA91; Wed, 24 Sep 2008 08:05:18 -0700 (PDT) Date: Wed, 24 Sep 2008 08:05:18 -0700 From: David Fetter To: Glyn Astill Cc: Merlin Moncure , Bruce Momjian , Tom Lane , Bill Moran , Greg Smith , Jonathan Bond-Caron , Postgres General List Subject: Re: Obfuscated stored procedures (was Re: Oracle and Postgresql) Message-ID: <20080924150518.GA844@fetter.org> References: <200809231952.m8NJqTP05977@momjian.us> <215184.36316.qm@web25807.mail.ukl.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <215184.36316.qm@web25807.mail.ukl.yahoo.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/937 X-Sequence-Number: 137944 On Wed, Sep 24, 2008 at 02:12:19PM +0000, Glyn Astill wrote: > I'm not sure what the policy is on putting stuff in the docs, but > how about putting that in the relevant place, as well as a note > about the other option; using C and SPI. C is not magic obfuscation gear. Anybody with a debugger can expose what it's doing. There have been math papers showing that it's impossible to hide the functionality of a piece of software based only on the ability to run it, so the entire prospect of obscuring the software's functionality when people can send arbitrary inputs to it is one of those "known-impossible" problems like the halting problem. Cheers, David. -- David Fetter 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