Re: Creditcard Number Security was Re: Encrypted column

From: "Marko Kreen" <markokr(at)gmail(dot)com>
To: "Peter Childs" <peterachilds(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Creditcard Number Security was Re: Encrypted column
Date: 2007-06-05 19:37:36
Message-ID: e51f66da0706051237x42fc7bb3v3e73f871162da671@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 6/5/07, Peter Childs <peterachilds(at)gmail(dot)com> wrote:
> On 05/06/07, Andrew Sullivan <ajs(at)crankycanuck(dot)ca> wrote:
> > On Tue, Jun 05, 2007 at 09:28:00AM -0500, Ron Johnson wrote:
> > >
> > > If he is a CC customer, the system (which I am DBA of) bills his
> > > card directly, saving the customer much time and effort.
> >
> > So surely what you have is a completely separate system that has
> > exactly one interface to it, that is signaled to provide a
> > transaction number and that only ever returns such a transaction
> > number to the "online" system, and that is very tightly secured,
> > right?
> >
> > It is possible to make trade-offs in an intelligent manner, for sure,
> > but you sure as heck don't want that kind of data stored online with
> > simple reversible encryption.
>
> Unfortunately you still need to store them somewhere, and all systems can
> be hacked. Yes its a good idea to store them on a separate system and this
> is an important part of designing your systems to ensure that the simple
> user interface is somehow limited.

If you really need the number in cleartext you should use
public-key encryption, either via pgcrypto or in application.

Thus you can have only public-key in public database,
credit-card numbers are encrypted with it, later actual
billing happens in separate, highly secured system that
has corresponding private key available to decrypt the data.

--
marko

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Erwin Brandstetter 2007-06-05 19:56:09 Re: There can be only one! How to avoid the "highlander-problem".
Previous Message David Gardner 2007-06-05 19:07:43 pl/pgsql debuging, was Re: debugging C functions