Data Masking
Data masking hides parts of sensitive data (e.g., showing only last 4 digits).
Updated: 2026-03-06
Definition
Data masking replaces sensitive parts of data with placeholders so users see only what they need.
It’s common in UIs, logs, and non-production environments.
Key points
- Reduces accidental exposure
- Useful for least privilege and privacy
- Often used with tokenization/encryption
Common mistakes
- Masking in UI but logging full values elsewhere.
- Using real sensitive data in dev/test environments.
Related exams
Related terms
Want to practice this in exam-style questions?
Use the mini tests on each exam page, then continue in the app for offline packs and detailed explanations.
Go to exams