From: Kris Jurka <books@ejurka.com>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: Roberts, Jon <Jon.Roberts@asurion.com>
Cc: Jonah H. Harris <jonah.harris@gmail.com>
Cc: Bill Moran <wmoran@collaborativefusion.com>
Cc: Joshua D. Drake <jd@commandprompt.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: viewing source code
Date: Mon, 17 Dec 2007 23:51:13 -0500 (EST)
Message-ID: <Pine.BSO.4.64.0712172348130.8691@leary.csoft.net> (raw)
In-Reply-To: <b42b73150712170613y1bf9b208vdb3e48532ad16b66@mail.gmail.com>
References: <1A6E6D554222284AB25ABE3229A92762112A00@nrtexcus702.int.asurion.com>
<b42b73150712170613y1bf9b208vdb3e48532ad16b66@mail.gmail.com>
On Mon, 17 Dec 2007, Merlin Moncure wrote:
> the table is pg_proc. you have to revoke select rights from public
> and the user of interest. be aware this will make it very difficult
> for that user to do certain things in psql and (especially) pgadmin.
> it works.
>
> a better solution to this problem is to make a language wrapper for
> pl/pgsql that encrypts the source on disk. afaik, no one is working on
> th is. it would secure the code from remote users but not necessarily
> from people logged in to the server. the pg_proc hack works ok
> though.
>
Another enhancement that would improve this situation would be to
implement per column permissions as the sql spec has, so that you could
revoke select on just the prosrc column and allow clients to retrieve the
metadata they need.
Kris Jurka
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-performance@postgresql.org
Cc: books@ejurka.com, mmoncure@gmail.com, Jon.Roberts@asurion.com, jonah.harris@gmail.com, wmoran@collaborativefusion.com, jd@commandprompt.com
Subject: Re: viewing source code
In-Reply-To: <Pine.BSO.4.64.0712172348130.8691@leary.csoft.net>
References: <1A6E6D554222284AB25ABE3229A92762112A00@nrtexcus702.int.asurion.com> <b42b73150712170613y1bf9b208vdb3e48532ad16b66@mail.gmail.com> <Pine.BSO.4.64.0712172348130.8691@leary.csoft.net>
* 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