Skip to content
Technological controls
ISO 27001A.8.11

ISO 27001 Annex A 8.11 Data masking

What it says

Data masking shall be used in accordance with the organization's topic-specific policy on access control and other related topic-specific policies, and business requirements, taking applicable legislation into consideration.

Quoted as published. Everything else on this page is written by Control Stack.

In plain English

Use data masking to hide sensitive values as your access control policy, other related policies and business needs require, considering the laws that apply.

Your organisation must use data masking, which hides or replaces sensitive values so people see only what they need, such as the last four digits of a card number. Your organisation decides where and how, following:

  • Policies: the topic-specific policy on access control and other related topic-specific policies, such as privacy or classification rules.
  • Business requirements: what each user or process actually needs to see.

Applicable legislation, such as privacy law, must be taken into consideration.

Why it matters

Support staff, testers and analysts often see full records they do not need, so one stolen account or careless export exposes every value. Masking limits what each person or copy reveals, and helps meet legal limits on personal information.

How to implement

  1. List sensitive fields and who needs to see them.

    Use your classification scheme (Annex A 5.12) and privacy requirements (Annex A 5.34) to find fields such as identity numbers, health details and card numbers. For each system, record which roles need the full value, part or none, following your access control policy and business requirements, and the legislation you considered.

  2. Choose a masking technique for each use.

    Options include showing part of a value, substituting, nulling (blanking), encrypting or salted hashing (one-way scrambling with a random value). Use pseudonymisation (an alias, reversible with separately held information) where identity may be needed later, and anonymisation (no way back to the person) otherwise. Match the strength to how the data is used.

  3. Configure masking where the data is shown or copied.

    Use dynamic masking (applied when data is read) or masked views for live systems, and static masking for copies such as test data (Annex A 8.33). For a bought service, use its field-level permissions or redaction settings. Where it has none, restrict the role and record the gap.

  4. Test the masking with an account that should not see full values.

    Try screens, reports, exports, APIs and direct queries. Check whether the remaining fields, such as postcode with birth date, can identify a person. Keep the key or lookup table for pseudonymised data separate, with restricted access.

  5. Control where masked data goes.

    Record who receives each masked data set, such as a test team, analyst or vendor, and use agreements to prohibit combining it with other data to identify people.

Keep it running

Recheck when a new field, report, export or integration is added, because masking often covers only the original screen. Look again when a related policy or applicable legislation changes.

Evidence and audit

  1. Check 1 of 5What an auditor asks for

    Ask for

    The masked field list, compared with a sample of real tables or a data discovery scan.

    Look at

    Sensitive fields that appear in the data but not on the list.

    Good evidence

    Every sensitive field found is masked for users without a business need, or has a recorded reason.

  2. Check 2 of 5What an auditor asks for

    Ask for

    A live demonstration with a low-privilege account.

    Look at

    Screens, reports, exports, APIs and direct queries for the same record.

    Good evidence

    The account sees only masked values on every route, and no export or query returns the full value.

  3. Check 3 of 5What an auditor asks for

    Ask for

    A sample of masking rules, with the policy and business requirement behind each.

    Look at

    Whether each rule traces to the access control policy or a related topic-specific policy, and whether people with full access have a stated need.

    Good evidence

    Each sampled rule traces to a policy and a business requirement, and users who see full values hold a role the policy allows.

  4. Check 4 of 5What an auditor asks for

    Ask for

    A re-identification test on a pseudonymised or anonymised data set.

    Look at

    Whether combining the remaining fields identifies someone, and where the pseudonymisation key or lookup table is kept.

    Good evidence

    No person can be identified from the anonymised set, and the key or lookup table for the pseudonymised set is held separately with restricted access.

  5. Check 5 of 5What an auditor asks for

    Ask for

    The legal requirements recorded under Annex A 5.31, compared with the masking decisions for one data type.

    Look at

    Whether laws that apply to that data, such as privacy or health records law, were considered when the rule was set.

    Good evidence

    The decision record names the applicable legislation and shows how the masking rule takes it into consideration.

Mappings

Closest match in ASD Information Security Manual: ISM-1268, Enforce need-to-know access in databases, which partially overlaps with this control.

ASD ISM

ASD Information Security Manual: 1 mapping

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.

Get help with this control

ISO 27001 training

Mindset Cyber, a PECB Authorised Titanium Partner, sells official PECB ISO/IEC 27001 courses that map directly to the controls in this library.