pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Inzamam Shafiq <inzamam.shafiq@hotmail.com>
To: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: PCI-DSS Requirements
Date: Thu, 22 Sep 2022 09:46:14 +0200
Message-ID: <3d512cd00a221216d3ac99b046285b4aa4302033.camel@cybertec.at> (raw)
In-Reply-To: <AM9P251MB03305BD42D448571714000AF984E9@AM9P251MB0330.EURP251.PROD.OUTLOOK.COM>
References: <AM9P251MB0330D8017C2AE3CF386D4AC7984C9@AM9P251MB0330.EURP251.PROD.OUTLOOK.COM>
	<7fcd64b3-8943-98ee-27c8-08c9b9c0e7d6@gmail.com>
	<AM9P251MB03305BD42D448571714000AF984E9@AM9P251MB0330.EURP251.PROD.OUTLOOK.COM>

On Thu, 2022-09-22 at 06:16 +0000, Inzamam Shafiq wrote:
> From: Ron <ronljohnsonjr@gmail.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





view thread (5+ messages)  latest in thread

Message-ID: <3d512cd00a221216d3ac99b046285b4aa4302033.camel@cybertec.at>
Permalink:  ../3d512cd00a221216d3ac99b046285b4aa4302033.camel@cybertec.at/
Also on:    postgresql.org/message-id/3d512cd00a221216d3ac99b046285b4aa4302033.camel@cybertec.at

 · 

reply

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-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, inzamam.shafiq@hotmail.com, ronljohnsonjr@gmail.com
  Subject: Re: PCI-DSS Requirements
  In-Reply-To: <3d512cd00a221216d3ac99b046285b4aa4302033.camel@cybertec.at>
  References: <AM9P251MB0330D8017C2AE3CF386D4AC7984C9@AM9P251MB0330.EURP251.PROD.OUTLOOK.COM> <7fcd64b3-8943-98ee-27c8-08c9b9c0e7d6@gmail.com> <AM9P251MB03305BD42D448571714000AF984E9@AM9P251MB0330.EURP251.PROD.OUTLOOK.COM> <3d512cd00a221216d3ac99b046285b4aa4302033.camel@cybertec.at>

* 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