pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
SQL File in encrypted form
2+ messages / 2 participants
[nested] [flat]

* SQL File in encrypted form
@ 2009-06-19 10:40  Jyoti Seth <jyotiseth2001@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Jyoti Seth @ 2009-06-19 10:40 UTC (permalink / raw)
  To: pgsql-sql

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.

 

Thanks,

Jyoti

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: SQL File in encrypted form
@ 2009-06-19 13:36  Jasen Betts <jasen@xnet.co.nz>
  parent: Jyoti Seth <jyotiseth2001@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Jasen Betts @ 2009-06-19 13:36 UTC (permalink / raw)
  To: pgsql-sql

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?



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2009-06-19 13:36 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-06-19 10:40 SQL File in encrypted form Jyoti Seth <jyotiseth2001@gmail.com>
2009-06-19 13:36 ` Jasen Betts <jasen@xnet.co.nz>

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