pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PCI-DSS Requirements
5+ messages / 3 participants
[nested] [flat]

* PCI-DSS Requirements
@ 2022-09-20 09:27  Inzamam Shafiq <inzamam.shafiq@hotmail.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Inzamam Shafiq @ 2022-09-20 09:27 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

Hi Team,


Anyone on PCI-DSS requirements for PostgreSQL DB, need help for some of the points.

Regards,

Inzamam Shafiq
DBA

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: PCI-DSS Requirements
@ 2022-09-20 17:44  Ron <ronljohnsonjr@gmail.com>
  parent: Inzamam Shafiq <inzamam.shafiq@hotmail.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Ron @ 2022-09-20 17:44 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

On 9/20/22 04:27, Inzamam Shafiq wrote:
>
> Hi Team,
>
>
> 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?

-- 
Angular momentum makes the world go 'round.

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: PCI-DSS Requirements
@ 2022-09-22 06:16  Inzamam Shafiq <inzamam.shafiq@hotmail.com>
  parent: Ron <ronljohnsonjr@gmail.com>
  0 siblings, 2 replies; 5+ messages in thread

From: Inzamam Shafiq @ 2022-09-22 06:16 UTC (permalink / raw)
  To: Ron <ronljohnsonjr@gmail.com>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

Hi Ron,

Thank you for the response.

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?

Thanks.

Regards,

Inzamam Shafiq
Sr. DBA
________________________________
From: Ron <ronljohnsonjr@gmail.com>
Sent: Tuesday, September 20, 2022 10:44 PM
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: PCI-DSS Requirements

On 9/20/22 04:27, Inzamam Shafiq wrote:

Hi Team,


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?

--
Angular momentum makes the world go 'round.

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: PCI-DSS Requirements
@ 2022-09-22 07:46  Laurenz Albe <laurenz.albe@cybertec.at>
  parent: Inzamam Shafiq <inzamam.shafiq@hotmail.com>
  1 sibling, 0 replies; 5+ messages in thread

From: Laurenz Albe @ 2022-09-22 07:46 UTC (permalink / raw)
  To: Inzamam Shafiq <inzamam.shafiq@hotmail.com>; Ron <ronljohnsonjr@gmail.com>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

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





^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: PCI-DSS Requirements
@ 2022-09-22 11:18  Ron <ronljohnsonjr@gmail.com>
  parent: Inzamam Shafiq <inzamam.shafiq@hotmail.com>
  1 sibling, 0 replies; 5+ messages in thread

From: Ron @ 2022-09-22 11:18 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

We use PgBackRest to create encrypted backups, but the nature of pg_dump 
means that the only way for them to be encrypted is to add that feature to 
pg_dump.

On 9/22/22 01:16, Inzamam Shafiq wrote:
> Hi Ron,
>
> Thank you for the response.
>
> 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?
>
> Thanks.
>
> Regards,
>
> /Inzamam Shafiq/
> /Sr. DBA/
> ----------------------------------------------------------------------------
> *From:* Ron <ronljohnsonjr@gmail.com>
> *Sent:* Tuesday, September 20, 2022 10:44 PM
> *To:* pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
> *Subject:* Re: PCI-DSS Requirements
> On 9/20/22 04:27, Inzamam Shafiq wrote:
>>
>> Hi Team,
>>
>>
>> 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?
>
> -- 
> Angular momentum makes the world go 'round.

-- 
Angular momentum makes the world go 'round.

^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2022-09-22 11:18 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-09-20 09:27 PCI-DSS Requirements Inzamam Shafiq <inzamam.shafiq@hotmail.com>
2022-09-20 17:44 ` Ron <ronljohnsonjr@gmail.com>
2022-09-22 06:16   ` Inzamam Shafiq <inzamam.shafiq@hotmail.com>
2022-09-22 07:46     ` Laurenz Albe <laurenz.albe@cybertec.at>
2022-09-22 11:18     ` Ron <ronljohnsonjr@gmail.com>

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