Re: PCI-DSS Requirements

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Inzamam Shafiq <inzamam(dot)shafiq(at)hotmail(dot)com>, Ron <ronljohnsonjr(at)gmail(dot)com>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: PCI-DSS Requirements
Date: 2022-09-22 07:46:14
Message-ID: 3d512cd00a221216d3ac99b046285b4aa4302033.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 2022-09-22 at 06:16 +0000, Inzamam Shafiq wrote:
> From: Ron <ronljohnsonjr(at)gmail(dot)com>
> > > Anyone on PCI-DSS requirements for PostgreSQL DB, need help for some of the points.
> >
> > Can you be more specific?  (Typically. the auditors or the "audit pre-check" team
> > will ask for a bunch of details on how your instance is configured.)
> >
> > The usual questions I get are:
> > - What password hash algorithm is used?
> > - How frequently to passwords expire?
> > - Is SSL used when communicating with applications?
>
> Actually we are in a starting phase and I have done instance level encryption
> (CYBERTECH TDE Patch) but if someone take dump and restore it on another server
> the data get restored successfully. Also the problem is that the data is in plain text.
>
> So I want to ask if disk or instance level encryption useful or we should focus on
> column level encryption?
>
> Also if any error occurred during DML and a plain query will be written into the
> logs which may not be compliant with PCI. How to overcome that?

Yes, data-at-rest encryption is expensive, but of limited effectiveness.

If you store sensitive information about credit cards and their owners,
the best you can do is encrypt sensitive columns in the application, so
that unencrypted data never touch the database. Make sure you don't encrypt
everything, only the sensitive data, so that you can retain some degree of
usability.

A great deal will also rest on your database user management and authentication,
and how well access to the system is logged and controlled.

All that said, there is always a difference between good security and passing
a certification exam...

Yours,
Laurenz Albe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2022-09-22 07:51:09 Re: ECCN for PostgreSQL
Previous Message YangYuping (杨瑜萍) 2022-09-22 06:43:54 ECCN for PostgreSQL