Re: Protecting stored procedures

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Protecting stored procedures
Date: 2011-04-07 13:43:11
Message-ID: 20110407134311.GA13162@shinkuro.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Apr 07, 2011 at 07:46:36AM -0500, Michael Gould wrote:
> We want to protect the intellectual property of several of our stored
> procedures.  If we put them in a separate schema in the database and only
> allow execute on anything in that schema would that protect our stored
> procedures?

If your customer can have superuser access on the machine (which
effectively means, "If your customer has control of the box,") then
no, it won't.

If you need to do this sort of thing, then you need to write the
procedures in C and deliver only object code. Even that probably
won't solve everything.

A

--
Andrew Sullivan
ajs(at)crankycanuck(dot)ca

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2011-04-07 13:48:01 Re: Re: how to insert multiple rows and get the ids back in a temp table (pgplsql)?
Previous Message Szymon Guz 2011-04-07 13:36:21 Re: Protecting stored procedures