Re: Encrypting a single column - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: Encrypting a single column
Date
Msg-id 47626F12.EE98.0025.0@wicourts.gov
Whole thread Raw
In response to Encrypting a single column  (Glyn Astill <glynastill@yahoo.co.uk>)
Responses Re: Encrypting a single column  (Tino Schwarze <postgresql@tisc.de>)
List pgsql-admin
>>> On Fri, Dec 14, 2007 at 10:30 AM, in message
<659515.22036.qm@web25809.mail.ukl.yahoo.com>, Glyn Astill
<glynastill@yahoo.co.uk> wrote:

> We need to encrypt an individual column in a table. I've noticed that
> pgcrypto can do this.
>
> However we have one problem, our software runs through a closed
> source "connectivity kit" that allows it to use a postgres dbms, so
> our programs cant sent an individual sql statement to give the
> password.

I assume that you're trying to protect against a backup of the
database falling into the wrong hands?  If so, your connectivity
layer should be doing the work.  Get the vendor to support what you
need or replace the layer with something which has better support
(or that you can support yourselves).

Any solution which includes what's necessary for decryption in the
dump will not really be much of a solution.

If you're trying to protect against something else, please clarify.

-Kevin




pgsql-admin by date:

Previous
From: "Tena Sakai"
Date:
Subject: Re: reading pg_stat_activity view
Next
From: "Campbell, Lance"
Date:
Subject: Large Objects