pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jasen Betts <jasen@xnet.co.nz>
To: pgsql-sql@postgresql.org
Subject: Re: SQL File in encrypted form
Date: 19 Jun 2009 13:36:40 GMT
Message-ID: <h1g498$lig$2@reversiblemaps.ath.cx> (raw)
References: <000001c9f0ca$7935f890$6ba1e9b0$@com>

On 2009-06-19, Jyoti Seth <jyotiseth2001@gmail.com> wrote:
> This is a multipart message in MIME format.
>
> ------=_NextPart_000_0001_01C9F0F8.92EE3490
> Content-Type: text/plain;
> 	charset="us-ascii"
> Content-Transfer-Encoding: 7bit
>
> Hi All,
>
>  
>
> I want to send the sql script file to a client but wants to hide the details
> in it. Can I send the sql script file in encrypted form which they can
> execute but can't view the details.

only by building it into an encrypted executable.
be sure to use SSL on the database connection.

or possibly you could write a backend extension (stored procedure
writtern in C, Java, or other compiled language) that does 
decrypting and execution in a single step and use that. 

what sort of things are you trying to hide?



view thread (2+ messages)

Message-ID: <h1g498$lig$2@reversiblemaps.ath.cx>
Permalink:  ../h1g498$lig$2@reversiblemaps.ath.cx/
Also on:    postgresql.org/message-id/h1g498$lig$2@reversiblemaps.ath.cx

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: jasen@xnet.co.nz
  Subject: Re: SQL File in encrypted form
  In-Reply-To: <h1g498$lig$2@reversiblemaps.ath.cx>

* 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