pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Glyn Astill <glynastill@yahoo.co.uk>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Bill Moran <wmoran@collaborativefusion.com>
Cc: David Fetter <david@fetter.org>
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: Tue, 16 Sep 2008 13:15:00 +0000 (GMT)
Message-ID: <21405.44191.qm@web25808.mail.ukl.yahoo.com> (raw)
In-Reply-To: <20080916084045.595ca9ee.wmoran@collaborativefusion.com>

> Because it's so full of obvious loopholes.  Yes,
> it might slow down
> > someone who didn't have superuser access to the
> database or root access
> > to the machine it's on; but that doesn't count
> as secure really.  The
> > problem is that the people who ask for this type of
> feature are usually
> > imagining that they can put their code on
> customer-controlled machines
> > and it will be safe from the customer's eyes. 
> Well, it isn't, and
> > I don't think Postgres should encourage them to
> think it is.
> 

As much as I'm impressed with the "we do it properly or not at all" attitude, it'd be nice if there was an option to stop the casual user from viewing code.

I'll admit to obfusicating bits and pieces using C, even though the function and everything it acts on are tied down with permissions. I understand in reality it provides no real extra security but somehow users being able to easily view something they don't have access to execute beyond it's name just feels wrong.


      



view thread (31+ messages)  latest in thread

Message-ID: <21405.44191.qm@web25808.mail.ukl.yahoo.com>
Permalink:  ../21405.44191.qm@web25808.mail.ukl.yahoo.com/
Also on:    postgresql.org/message-id/21405.44191.qm@web25808.mail.ukl.yahoo.com

 · 

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: glynastill@yahoo.co.uk, tgl@sss.pgh.pa.us, wmoran@collaborativefusion.com, david@fetter.org, gsmith@gregsmith.com, jbondc@openmv.com
  Subject: Re: Obfuscated stored procedures (was Re: Oracle and Postgresql)
  In-Reply-To: <21405.44191.qm@web25808.mail.ukl.yahoo.com>
  References: <20080916084045.595ca9ee.wmoran@collaborativefusion.com> <21405.44191.qm@web25808.mail.ukl.yahoo.com>

* 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