Technology

S3 Object Lock

Write-once-read-many (WORM) feature for Amazon S3 buckets — once configured, an object version cannot be deleted or overwritten for either a **fixed retention period** or **indefinitely via legal hold**. Two retention modes available: **Compliance Mode** (no override, even root can't shorten retention or delete protected versions) and **Governance Mode** (specific IAM permissions can override). Independently of retention modes, **Legal Hold** is a separate WORM flag that has no fixed time — it remains until explicitly removed. Object Lock requires [S3 Versioning](/node/s3-versioning) enabled on the bucket.

4 connections

Definition

What it is

Write-once-read-many (WORM) feature for Amazon S3 buckets — once configured, an object version cannot be deleted or overwritten for either a fixed retention period or indefinitely via legal hold. Two retention modes available: Compliance Mode (no override, even root can't shorten retention or delete protected versions) and Governance Mode (specific IAM permissions can override). Independently of retention modes, Legal Hold is a separate WORM flag that has no fixed time — it remains until explicitly removed. Object Lock requires S3 Versioning enabled on the bucket.

Why it exists

Two distinct production-driven requirements converged on the same architecture. Regulatory: SEC 17a-4, CFTC, and FINRA all require certain financial records to be stored on WORM-class media with no possibility of alteration; S3 Object Lock in Compliance Mode satisfies the requirement (assessed by Cohasset Associates). Operational: ransomware now routinely targets backup infrastructure first to destroy the recovery path — Object Lock prevents an attacker with full IAM credentials from deleting protected backups, because Compliance Mode forbids deletion even at the root credential level.

Primary use cases

Regulatory-compliance archives subject to SEC/CFTC/FINRA WORM requirements, ransomware-resilient backup retention (the canonical 2026 pattern), legal-hold preservation for litigation discovery, immutable audit logs for compliance frameworks (HIPAA, PCI DSS), and the foundation for Ransomware Pattern Detection from Object Events and Defending S3 Against SSE-C Encryption Hijacking workflows.

Connections4

Outbound3
Inbound1