Re: database file encryption - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: database file encryption
Date
Msg-id 20060811141211.GB950@svana.org
Whole thread Raw
In response to Re: database file encryption  (Christopher Browne <cbbrowne@acm.org>)
List pgsql-general
On Fri, Aug 11, 2006 at 08:52:32AM -0400, Christopher Browne wrote:
> >> I'd like to know if there is a way in order to encrypt these data.
> >
> > Sure, run postgres over an encrypted filesystem.
>
> Actually, that may not work the way you think it does...
>
> As long as the encrypted filesystem is mounted, you can access the
> unencrypted data

Sure. However, it was only asked if the data could be encrypted. My
point was that the OP needs to decide what the actual problem is and
then they can evaluate what are acceptable solutions.

Asking about encrypted files first is putting the cart before the horse.

> The method that consistently works is to encrypt the data before
> putting it in the database so that the DBMS is unaware of what the
> plaintext form is...

Sure, but now you've thought about the attack vectors and what's
important...

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment

pgsql-general by date:

Previous
From: Francis GUDIN
Date:
Subject: VACUUM VERBOSE output to STDERR
Next
From: Tom Laudeman
Date:
Subject: Re: Tuning to speed select