Control 8.11 asks you to hide or replace sensitive data wherever people or systems do not need to see all of it. Test environments are where it matters most.
ISO 27001 Annex A 8.11 requires data masking to be used where your access rules, policies, business needs and the law call for it. In practice: find where people or systems do not need full data, such as test environments and support screens, and pseudonymise, redact or partly hide it there. Keep live personal data out of test systems.
Brian Colborne, a deployment engineer with 25 years of testing whether systems work the way their documentation says they do. He runs independent pre-audit diagnostics on ISO 27001 management systems. About PassISOaudit
Control 8.11 limits exposure of sensitive data, especially personal data, to what each user or system needs.
An auditor testing 8.11 asks where test and reporting data comes from. If the answer is "a copy of production", they ask to see how it was masked before use.
A small company that does not build software or handle bulk personal data can meet 8.11 lightly: a rule that test data is synthetic or masked, and that exports carry only the columns needed. If you build software, never copy live personal data into test environments without masking it first.
| Situation | Technique | Evidence |
|---|---|---|
| Test and development databases | Synthetic data, or a masked copy of production | Masking script or seed data in the repository |
| Support and admin screens | Partial display, such as the last four digits | Screenshot of the screen |
| Analytics and management reports | Pseudonymised IDs or aggregated figures | Report definition |
| Ad hoc exports to spreadsheets | Only the columns needed; identifiers removed | Export rule in the handling procedure |
| Documents released outside the company | Redaction | Redacted copy kept with the original |
A practical rule of thumb (our advice, not a requirement of the standard): if a person or system can do its job without seeing a field, mask that field there. Record the places where you decided masking was not needed, and why.
Related controls: 8.12 Data leakage prevention · 8.10 Information deletion · 8.28 Secure coding.
No. Encryption protects data so only key holders can read it. Data masking hides or replaces parts of the data so even authorised users see only what they need. Many companies need both.
Under UK GDPR, usually yes, because pseudonymised data can be linked back to a person with extra information. Truly anonymised data is not personal data. The ICO's anonymisation and pseudonymisation guidance, published in March 2025, explains where the line sits.
Usually not. A small company can meet 8.11 with synthetic test data, partial display of identifiers and limits on exports, without a dedicated masking product.
Sometimes, but check first. Even without software development, 8.11 can apply to reports, exports and support screens that show personal data. If none of those exist, justify the exclusion in your Statement of Applicability.
Azure SQL dynamic data masking helps but is not enough on its own. Microsoft says it limits what non-privileged users see, set under Security, Dynamic Data Masking in the Azure portal, but does not stop direct database users running queries that expose the data (Microsoft Learn). Pair it with access control, and mask test copies separately.
PostgreSQL has no masking built in. One route is the PostgreSQL Anonymizer extension, or a script that replaces names, emails and phone numbers with fake values before a production copy reaches test. Keep the script in your repository as 8.11 evidence.
Yes. Partial display, such as the last four digits of a card or bank number, is one of the simplest masking techniques. It suits support and admin screens where staff need to confirm a record, not read the full value.
Yes, if it is controlled. Let developers look at production data in production, with approval, time-limited access and a logged reason, rather than copying it into a test environment. Write that exception into your masking rule.
