From: Matt Clark <matt@ymogen.net>
To: Dave Ewart <Dave.Ewart@cancer.org.uk>
To: pgsql-admin@postgresql.org
Subject: Re: Database Encryption (now required by law in Italy)
Date: Fri, 5 Mar 2004 11:17:52 -0000
Message-ID: <OAEAKHEHCMLBLIDGAFELIEKOEOAA.matt@ymogen.net> (raw)
In-Reply-To: <20040305092041.GB13042@nemesis.ox.icnet.uk>
> What's wrong with using a LoopAES filesystem? It protects against
> someone walking off with the server, or at least the hard disk, and
> being able to see the data.
Yes, but only if the password has to entered manually [1] at boot time.
And it gives zero protection against someone who gains root access to the
server.
So you _also_ have to encrypt the sensitive data before giving it to the
DB, using a key that is not stored on the DB server.
Of course that means your app servers have to have _those_ passwords/
keys entered manually at boot time, or else someone who roots them can
read your sensitive data quite trivially.
And to do any better than that you need one of those very snazzy cards
from nCipher or whoever, that allow you to process encrypted data in a
hardware sandbox so even your application doesn't see it, or at least
only allow signed code to manipulate the data.
Matt
[1] There are ways of avoiding having to enter the info manually, but
they're very tricky to implement securely.
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-admin@postgresql.org
Cc: matt@ymogen.net, Dave.Ewart@cancer.org.uk
Subject: Re: Database Encryption (now required by law in Italy)
In-Reply-To: <OAEAKHEHCMLBLIDGAFELIEKOEOAA.matt@ymogen.net>
References: <20040305092041.GB13042@nemesis.ox.icnet.uk> <OAEAKHEHCMLBLIDGAFELIEKOEOAA.matt@ymogen.net>
* 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