# ISO/IEC 27701 A.2.4.2 — Temporary files disposal

- Source: https://support.icompaas.com/support/solutions/articles/a_gen_iso27701_a242_c072d9d824-isoiec-27701-a242-temporary-files-disposal
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [ISO/IEC 27701 (Privacy Information Management)](https://support.icompaas.com/support/solutions/c_gen_iso27701) › [Privacy by design / default (processors)](https://support.icompaas.com/support/solutions/folders/f_gen_cgeniso27701_privacybydesigndefaultprocessors)
- Last updated: 2026-05-30
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

ISO/IEC 27701 · Control A.2.4.2 · Priority: high · Component: Privacy by design / default (processors)

### What this control covers

Ensure temporary files are disposed per procedures. Implementation: Garbage collection, periodic verification, documented retention periods. Justification: Prevents leakage of PII via temp artifacts.

### Why it matters

Encryption and key management make data unreadable to attackers and unintelligible under data-breach safe-harbour clauses — a meaningful regulatory benefit.

### How to implement

#### AWS

Default to **SSE-KMS** with customer-managed keys for S3/EBS/RDS/Secrets Manager. Use **S3 Bucket Keys** and **S3 Block Public Access** at the account level, and turn on **S3 Object Lock** on backup buckets for ransomware resilience.

#### Azure

Store secrets in **Key Vault** (HSM-backed where required) with soft-delete + purge protection; use **customer-managed keys** for Storage, SQL, and Azure Disk Encryption. Tag PII data via **Microsoft Purview**.

#### GCP

Use **Cloud KMS** with customer-managed encryption keys (CMEK) for BigQuery, GCS, and Compute. **Sensitive Data Protection** (DLP API) inspects/de-identifies PII at scale.

#### Google Workspace

Enable **client-side encryption** for Drive/Docs and turn on **Drive Labels + DLP** rules to prevent external sharing of regulated data classes.

#### On-premises

Operate a **Records of Processing Activity (RoPA)** and a **data-subject-request (DSR) workflow** with named owners, SLA per regulation (GDPR 30 days, DPDP 30 days, CCPA 45 days). iCompaas users can track requests + evidence inside the Privacy module.

### Evidence to collect

-   `policy_document` — A signed, version-controlled policy stating leadership intent and the named owner.
-   `vendor_risk_management` — See the iCompaas Evidence library for the canonical source for this evidence type.

Signed policies, procedures, and registers document the safeguard. Processor due diligence, contracts, and disclosure registers evidence third-party controls. Focus: Temporary files disposal.

### Quick checklist

-   Implement — Temporary Files Disposal
-   Document — Temporary Files Disposal
-   Ensure — Temporary Files Disposal

### Related articles on this site

-   [Ensure IAM password policy prevents password reuse](https://support.icompaas.com/support/solutions/articles/62000080832-ensure-iam-password-policy-prevents-password-reuse)
-   [Ensure a log metric filter and alarm exist for Management Console sign-in without MFA](https://support.icompaas.com/support/solutions/articles/62000083605-ensure-a-log-metric-filter-and-alarm-exist-for-management-console-sign-in-without-mfa)
-   [Ensure a log metric filter and alarm exist for AWS Management Console Authentication failures](https://support.icompaas.com/support/solutions/articles/62000084023-ensure-a-log-metric-filter-and-alarm-exist-for-aws-management-console-authentication-failures)
-   [Ensure the RDS storage has retention enabled](https://support.icompaas.com/support/solutions/articles/62000208442-ensure-the-rds-storage-has-retention-enabled)
