Open in TheBrain

ISO IEC 27002 2022 — 8.4 Access to source code


source: false

type: canonical-control-reference

standard: "ISO/IEC 27002"

document_version: "2022"

element_id: "8.4"

family_id: "8"

family: "Technological Controls"

title: "Access to source code"

status: active

assessment_criterion: true

reference_basis: "user-supplied licensed ISO canonical publication"

normative_text_included: true

source_location: "PDF pages 96–97; printed pages 86–87"

updated: 2026-09-11

scf_mappings: ["TDA-20"]

authoritative_sources:

- "ISO/IEC 27002:2022 canonical PDF"

text_kind: guidance

source_text_verified: true


8.4 Access to source code

Control Attributes

Attribute Value


Control type #Preventive
Information security properties #Confidentiality #Integrity #Availability
Cybersecurity concepts #Protect
Operational capabilities #Identity_and_access_management #Application_security #Secure_configuration
Security domains #Protection

Control

Read and write access to source code, development tools and software libraries should be appropriately managed.

Purpose

To prevent the introduction of unauthorized functionality, avoid unintentional or malicious changes and to maintain the confidentiality of valuable intellectual property.

Guidance

Access to source code and associated items (such as designs, specifications, verification plans and validation plans) and development tools (e.g. compilers, builders, integration tools, test platforms and environments) should be strictly controlled.

For source code, this can be achieved by controlling central storage of such code, preferably in source code management system.

Read access and write access to source code can differ based on the personnel’s role. For example, read access to source code can be broadly provided inside the organization, but write access to source code is only made available to privileged personnel or designated owners. Where code components are used by several developers within an organization, read access to a centralized code repository should be implemented. Furthermore, if open-source code or third-party code components are used inside an organization, read access to such external code repositories can be broadly provided. However, write access should still be restricted.

The following guidelines should be considered to control access to program source libraries in order to reduce the potential for corruption of computer programs:

If the program source code is intended to be published, additional controls to provide assurance on its integrity (e.g. digital signature) should be considered.

Other Information

If access to source code is not properly controlled, source code can be modified or some data in the development environment (e.g. copies of production data, configuration details) can be retrieved by unauthorized persons.

SCF Relationships

Mappings below are from the SCF STRM for ISO/IEC 27002; the source element and relationship are retained.

Source element SCF control Relationship Strength Mapping PDF page





8.4 TDA-20 (unresolved reference: References/Secure Controls Framework 2026.2/TDA Technology Development & Acquisition/TDA-20 Access to Program Source Code.md) Equal 10 11

Notes

References