Re: Protecting stored procedures - Mailing list pgsql-general

From Andrew Sullivan
Subject Re: Protecting stored procedures
Date
Msg-id 20110407134311.GA13162@shinkuro.com
Whole thread Raw
In response to Protecting stored procedures  (Michael Gould <mgould@intermodalsoftwaresolutions.net>)
Responses Re: Protecting stored procedures
List 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@crankycanuck.ca

pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: postgres segfaulting on pg_restore
Next
From: Merlin Moncure
Date:
Subject: Re: Re: how to insert multiple rows and get the ids back in a temp table (pgplsql)?