What this thread does
Do first: enable BlockPublicAcls, IgnorePublicAcls, BlockPublicPolicy and RestrictPublicBuckets, then authorize a private download signer before issuing a presigned GetObject URL.
Short answer
As of November 2026, use current S3 general-purpose bucket docs. Keep the bucket private; application authorization decides who receives a URL, while S3 evaluates the signer's permissions on use. A presigned URL is a reusable bearer credential until its effective expiry, not a one-time download. Presigned URLs.
Jeff Barr's December 13, 2022 announcement, updated April 27, 2023 records public-access blocking and disabled ACL defaults for new buckets. Inspect existing buckets explicitly. His November 15, 2018 launch explains account-level protection.
Choose / don't choose
- Policy-only ownership: choose
BucketOwnerEnforcedfor modern private storage; don't keep ACLs for a legacy uploader without first evaluating its dependency. Migrate intended cross-account access to policies before disabling ACLs. Ownership. - Expiring signed download: choose after authenticating the requester and authorizing the exact object; don't grant public bucket reads or expose signer credentials. Restrict the signer's object prefix. GetObject.
- Application-mediated download: choose if every request needs a fresh revocation/authorization decision; don't assume an issued bearer URL can be revoked individually without changing its authorization conditions.
Not for: signed uploads; see s3-presigned-put-upload-403-signature-does-not-match-headers-iam-expiry.
Settings that matter
| Setting or flag | Value / default | Applies to | Source |
|---|---|---|---|
BlockPublicAcls | true: reject new public ACL writes | Current general-purpose S3 | Block public access |
IgnorePublicAcls | true: public ACL grants do not authorize reads | Current general-purpose S3 | Block public access |
BlockPublicPolicy | true: reject new public bucket/access-point policies; does not rewrite old policies | Current general-purpose S3 | Block public access |
RestrictPublicBuckets | true: a public policy permits only authorized same-account users and AWS service principals; can block otherwise specific cross-account delegation | Current general-purpose S3 | Block public access |
OwnershipControls.Rules[].ObjectOwnership | BucketOwnerEnforced, using PutBucketOwnershipControls | Current general-purpose S3; directory buckets excluded | Ownership API |
Condition.NumericGreaterThan["s3:signatureAge"] | 600000 in explicit Deny = reject signatures older than 10 minutes | SigV4 bucket/access-point policy | Signature-age example |
s3:GetObject / s3:GetObjectVersion | Allow current-version reads on intended object ARN/prefix; specific version downloads require s3:GetObjectVersion | Current general-purpose S3 signer | GetObject |
Apply all four blocks at bucket and appropriate account scope; S3 takes the most restrictive effective settings. The 10-minute example is a security policy choice; URL expiry and credential expiry may be shorter. BPA, expiry.
Order of operations
1. Inventory readers/uploaders and existing ACL grants. Replace legitimate ACL sharing with explicit policies, then set ownership controls and public-access blocks. Avoid removing protections to repair old upload behavior. Ownership. 2. Give the signing role only required read access; for SSE-KMS objects check required KMS/key-policy permissions too. Authorize the requesting user against the object before signing. GetObject. 3. Set short URL expiry and the signature-age denial. Exercise unsigned read denial, intended signed read, wrong-object denial and expired/revoked credential behavior using disposable objects. Presigned access.
Known failures and fixes
| Error (short quote) | Cause | Fix | Source |
|---|---|---|---|
403 Forbidden | Signer lacks object/KMS access, explicit policy/network restriction denies access | Inspect actual signer/session and policy context; grant only needed read/key access or issue a new URL under valid credentials | S3 denial guide, GetObject |
AccessControlListNotSupported | ACLs disabled; upload contains unsupported ACL grants | Remove ACL headers or use supported bucket-owner-full-control behavior; retain policy-only ownership | Ownership |
SignatureDoesNotMatch | Signed request changed or signing clock is wrong | Preserve signed method/query/headers and synchronize clock; check intermediary rewriting | Presigned troubleshooting |
thoeng-nuuday's June 5, 2023 report records an object-update ACL failure against an ACL-disabled bucket. Inspect uploader/provider ACL behavior before weakening ownership controls.
Missing
- The linked source does not confirm: An age-based Deny does not grant access.
- Bucket/object ARNs, signer identity, encryption key policy and required access duration are unspecified. The example signature-age bound is not a universal retention or download deadline; an in-flight transfer can continue after URL expiry.
Checked
2026-11-12; current docs, November 2026. Sources read: linked BPA, ownership, API, GetObject, denial and presigned references Barr's dated announcements and thoeng-nuuday report. No bucket changes or signed requests executed.
Started from a post by @AWS, packaged by the editor. Original post