Masking reduces particular exposure
Data masking changes, removes or hides selected information so that users or processes do not see the original values in a particular context. It can support a safer display, a restricted workflow or a prepared dataset. The objective and limitations should be explicit before selecting a technique.
The Annex A control selection overview places masking among wider treatment decisions. It should not be treated as proof that information has become anonymous, inaccessible everywhere or safe for unrestricted release.
Decide which use needs protection
A customer-service screen might display only part of an account reference because the full value is unnecessary for routine work. A software test environment may need representative data without using genuine customer identities. A research release raises a different set of disclosure questions.
These uses require different assessment. Hiding part of a field on a screen may leave the complete value in exports, application interfaces or logs. Preparing a test dataset may require changes across related tables to preserve useful relationships without retaining unnecessary personal detail.
Document who should be protected from which exposure. This makes it possible to examine whether the chosen design addresses the real need. A statement that data is masked is too vague to establish an appropriate control.
Different approaches, different limitations
| Approach | Intended use | Question to examine |
|---|---|---|
| Restricted display | Reduce unnecessary visibility during work | Can the user obtain the original through another route? |
| Prepared replacement dataset | Support testing or analysis with changed values | Do remaining fields expose identities or sensitive relationships? |
| Controlled token relationship | Substitute values while retaining an authorised link | Who can access the link and original information? |
The table provides original conceptual comparisons. It does not prescribe a particular algorithm or claim that the approaches are equivalent.
Selection depends on the information, purpose and access model. Technical teams should assess suitable methods using current guidance and the actual environment. Applying an arbitrary transformation can produce misleading results or leave disclosure risks unresolved.
Masking is not automatically anonymisation
NIST SP 800-188 explains why masking tools alone may not provide sufficient de-identification functionality. Removing obvious identifiers can leave combinations of other information that identify a person or reveal sensitive facts.
A fictional dataset might remove names while retaining rare job titles, precise locations and detailed dates. The combination could still make a record recognisable to someone with relevant knowledge. The risk depends partly on other available information and the release context.
Do not use a masked label to avoid evaluating that risk. Public release, restricted internal access and a controlled research environment have different conditions. Where personal information is involved, relevant privacy obligations and specialist assessment also matter.
Protect the originals and supporting routes
If originals remain, they still need suitable access control, retention and monitoring. A masking design can fail if the application hides a value visually but sends it to an unauthorised user through another route. Review the complete data flow rather than only the appearance of one screen.
Consider exports, reports, caches, support records and recovery copies. The original values may persist beyond the masked view. Access permissions should reflect the intended roles, including who can unmask information and under what authority.
Secure information deletion addresses a different outcome. Masking data for a particular use does not establish that unnecessary originals have been removed. Decide separately whether retention remains justified and how authorised disposal will occur.
A fictional testing example
Hazel Quay Software wants realistic test records for a booking service. Initially, developers copy production records and replace customer names. A review identifies phone numbers, free-text notes and unusual combinations that still expose genuine customer information.
The team reconsiders which properties its tests actually require. It uses appropriately prepared test material and limits access to any remaining sensitive information. It also reviews how test copies are created, refreshed and removed.
The example is an educational scenario. It does not imply that one replacement method suits every application. Tests requiring relationship consistency may need different preparation from tests concerned only with interface layout.
Evaluate both security and usability
Useful assessment asks whether unauthorised exposure is reduced and whether the resulting information remains suitable for its intended use. A transformation can break relationships or change distributions, leading tests or analysis to misleading conclusions.
Keep appropriate evidence of approval, method choice, coverage and limitations. Do not retain unnecessary originals in a casually accessible comparison file. Review the arrangement when source data, application routes or access roles change.
Make exceptions visible. An authorised specialist may occasionally need full values, but the route should be controlled and justified. A permanent broad-access workaround can undermine the main design.
Check changes to the underlying data as well as changes to the masking tool. A newly added free-text field or reporting interface can expose information that an earlier assessment never considered. Assign responsibility for reviewing those changes before the prepared data is reused or shared more widely.
Can masked information be shared freely?
Not automatically. Assess what remains identifiable or sensitive, who receives it, what other information they may possess and which obligations apply. Masking is a technique within a protection design, not a universal permission to disclose.
Cluster overview: ISO 27001 Annex A Controls Explained: Structure, Selection and Implementation
Sources and further reading
Official references support the factual explanations. Scenarios and suggested working methods are our own educational illustrations.
- ISO/IEC 27002:2022 official catalogue · Checked 2026-10-17
- NIST SP 800-188: De-Identifying Government Datasets · Checked 2026-10-17
- NIST SP 800-53 Revision 5: Security and Privacy Controls · Checked 2026-10-17