pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #14103: stored function encryption
Date: Fri, 29 Apr 2016 23:27:55 -0700
Message-ID: <409f9f72-6e17-55e2-2de0-53ca6b069e8f@hogranch.com> (raw)
In-Reply-To: <20160430020130.GB28568@momjian.us>
References: <20160420105947.22934.66599@wrigleys.postgresql.org>
	<57178A1D.8010309@hogranch.com>
	<20160430020130.GB28568@momjian.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 4/29/2016 7:01 PM, Bruce Momjian wrote:
>>> how to encrypt functions in Postgresql so that we can hide all my business
>>> > >logic ?
>> >
>> >write them in C or another compiled language, supply them as .SO (or .dll)
>> >files.
> FYI, you can often run 'strings' on the object file to see the SQL
> queries.

hah, true, so I guess if you really want to hide it, you've got to hash 
all your string constants, or use an obtuse sql generator.



-- 
john r pierce, recycling bits in santa cruz

view thread (5+ messages)  latest in thread

Message-ID: <409f9f72-6e17-55e2-2de0-53ca6b069e8f@hogranch.com>
Permalink:  ../409f9f72-6e17-55e2-2de0-53ca6b069e8f@hogranch.com/
Also on:    postgresql.org/message-id/409f9f72-6e17-55e2-2de0-53ca6b069e8f@hogranch.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-bugs@postgresql.org
  Cc: pierce@hogranch.com
  Subject: Re: BUG #14103: stored function encryption
  In-Reply-To: <409f9f72-6e17-55e2-2de0-53ca6b069e8f@hogranch.com>
  References: <20160420105947.22934.66599@wrigleys.postgresql.org> <57178A1D.8010309@hogranch.com> <20160430020130.GB28568@momjian.us> <409f9f72-6e17-55e2-2de0-53ca6b069e8f@hogranch.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