Skip site navigation (1) Skip section navigation (2)

Re: Securing stored procedures and triggers

From: Douglas McNaught <doug(at)mcnaught(dot)org>
To: fasupport(at)allcoast(dot)net
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Securing stored procedures and triggers
Date: 2007-10-31 15:13:23
Message-ID: 877il3qpv0.fsf@suzuka.mcnaught.org (view raw or flat)
Thread:
Lists: pgsql-general
mgould <mgould(at)allcoast(dot)net> writes:

> We are currently migrating from Sybase's ASA 9/10 to PostGres 8.2.4.
> One of the features that is really nice in ASA is the ability to add
> the attribute hidden to a Create procedure, Create function and
> Create trigger.  Essentially what this does is encrypt the code so
> that if anyone or any utility gets into the database they cannot see
> any of the actual code.  This is a great feature for protecting
> intellectual processing techniques.  I don't know if there is anyway
> to do this in PostGres.  Before the hidden feature was added, we had
> a competitor steal some of our stored procedure processing code.  Is
> there anyway to protect this from happening in PostGres?

The only bulletproof way to do this currently is to write all your
stored functions in C and load them as a shared library.

-Doug

In response to

Responses

pgsql-general by date

Next:From: Reg Me PleaseDate: 2007-10-31 15:33:02
Subject: Re: Securing stored procedures and triggers
Previous:From: Douglas McNaughtDate: 2007-10-31 15:11:58
Subject: Re: configure password

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group