Pcornel
Security · Data Security

Masking

Cheat sheet · https://pcornel.dk/topic.php?topic=4997

Back to the Topic

Answer

Data masking hides sensitive values by replacing parts of them, such as showing ****1234 for a card number, or using realistic fake values in test databases, so data stays usable without exposing originals.

Remember

  • Static masking for test copies, dynamic for display.
  • Masked data should not be reversible.
  • Keep format where needed.

First checks

  • Masking rules (display, test data) — applied
  • Test/dev environments use masked data — no production PII
  • Dynamic data masking settings in DB — queries

Verify in this order

real data → masking → masked output

Where it usually breaks

First mismatch in data identity/classification → access policy → storage/transport protection → DLP/monitoring → backup/recovery → consumer validation; preserve identity/policy/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4997

Confirmation

Confirm action

Continue?