From: | John R Pierce <pierce(at)hogranch(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Looking for advice on database encryption |
Date: | 2009-04-16 20:02:44 |
Message-ID: | 49E78EE4.4020001@hogranch.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Bill Moran wrote:
> What are folks doing to protect sensitive data in their databases?
>
I would probably do my encryption in the application layer, and only
encrypt the sensitive fields. fields used as indexes probably should
not be encrypted, unless the only index operation is EQ/NE, then you
could use the encrypted index value as the search key. this would even
work for foreign key relations.
of course, if part of your cryptography regimen involves key expiration
and rotation, there'd be the hellacious problem of decrypting/reencryption.
it really all depends on what the security requirements are.
-somewhere- there's a weak spot, in the above model, its the application
server thats doing the cryptography, if it gets compromised, then the
keys can be extracted, and all bets are off.
From | Date | Subject | |
---|---|---|---|
Next Message | Bill Moran | 2009-04-16 20:20:25 | Re: Looking for advice on database encryption |
Previous Message | Thomas Kellerer | 2009-04-16 20:00:03 | Re: Looking for advice on database encryption |