PCI DSS & Scope Reduction
Protecting card data, and keeping it out of your systems
The Payment Card Industry Data Security Standard (PCI DSS) applies to anyone who stores, processes or transmits payment card data. The most effective strategy is to shrink the scope: keep card numbers out of your systems entirely by using a payment provider's hosted fields and tokens.
Intermediate · 5 steps
| Standard | PCI DSS v4.0.1 |
|---|---|
| Structure | 12 principal requirements |
| In scope | The cardholder data environment (CDE) and connected systems |
| Assessment | SAQ (self-assessment) or ROC by a QSA |
| External scans | Quarterly by an ASV |
| Best strategy | Tokenisation to reduce scope |
Step by step
Before: card data everywhere A large scope
The old checkout posted the card number to the store's own server, which forwarded it to the payment provider and kept the last orders "for refunds". That made the web servers, API, database, backups and the network connecting them all part of the cardholder data environment.
Hosted fields Card data skips your servers
The redesign embeds the provider's hosted payment fields in the checkout page. The shopper types the card number into a frame served by the provider, so the number goes straight from the browser to the provider and never reaches the store.
Tokens, not card numbers Useless if stolen
The store sends the token to its backend, which asks the provider to charge it. The database stores only the token and the last four digits for receipts. A stolen database no longer contains anything that can be used to make payments elsewhere.
Protect the payment page Script tampering
Attackers sometimes inject a script into checkout pages to copy card details as they're typed ("web skimming"). PCI DSS v4 requires an inventory and authorisation of scripts on payment pages and a mechanism to detect changes, for example a strict Content Security Policy and change monitoring.
Validate compliance Smaller scope, simpler assessment
With card data handled entirely by the provider, the store qualifies for a much shorter self-assessment questionnaire instead of a full on-site assessment, plus quarterly external vulnerability scans by an approved scanning vendor.
Best practices
- Never store full card numbers or security codes unless you truly must
- Use hosted payment fields or redirects so card data goes straight to the provider
- Segment any systems that do touch card data from the rest of the network
- Protect payment pages from script tampering (PCI DSS v4 requirements 6.4.3 and 11.6.1)
- Run quarterly external ASV scans and an annual assessment
More in Governance, Risk & Compliance.
Packets
| No. | Time | Source | Destination | Protocol | Info | Size |
|---|