Signed URLs and private delivery
We keep reusable private bytes behind a per-request permission boundary. Shared storage of a representation need not make that representation public. We will sign the delivery capability, validate it before a cache hit, restrict origin, and bound revocation exposure.
#Section 17Origin upload signatures and CDN delivery signatures
Heron used a presigned object request to permit upload. Playback through a CDN needs permission at the viewer-to-CDN boundary. A signed CDN URL carries a delivery policy authenticated by a trusted signer, allowing the edge to validate permitted retrieval according to the product’s mechanism.
An origin-storage upload signature does not automatically authorize a different CDN hostname, method, or path. Conversely, a CDN playback signature should not grant upload or general object-store access. Keep each capability’s signer, resource, method or action, and usable time explicit.
CloudFront private-content documentation describes signed URLs and signed cookies with restricted origin. The product’s actual policy fields and validation timing need verification. Heron issues playback access only after its metadata says the user may view the published version.
#Section 18Validate permission even on a cache hit
The edge already holds a private clip’s bytes. A second viewer requests the same key without valid access. A cache hit must not bypass the chosen private-delivery check. The edge validates its supported signed policy before returning bytes, regardless of whether it contacts origin.
The same authorized representation can be reused across permitted viewers when access is enforced outside its content identity. If the signature or user identifier is unnecessarily part of the cache key, every viewer may create a distinct entry and lose reuse. Excluding those fields is safe only when the access boundary still checks them and the bytes truly are equivalent.
Test a warmed private object with missing, expired, malformed, and altered signatures. Test a different object path with a valid signature for the original path. The security guarantee must hold before the cache lookup can return content, not only on misses.
#Section 19Restrict the origin and protect signing authority
A viewer discovers the origin hostname and downloads the private object directly. The CDN signature was irrelevant because another public path existed. Restrict origin so only the intended delivery mechanism or narrowly authorized administrative path can retrieve private bytes under its actual policy.
Protect the signer and rotate keys through the supported trust configuration. A leaked signer can create apparently valid capabilities until its authority is removed and validation paths honor that change. Short expiration limits some exposure but does not replace signer revocation and controlled key distribution.
Do not place complete signed URLs in logs or third-party analytics. They carry delegated authority. Keep a redacted content identity, policy identifier, decision, and request correlation value for diagnosis. Access logs should explain why a request was denied without reproducing a reusable secret.
#Section 20Expiration and revocation are stated promises
Heron gives an illustrative playback capability a 300-second lifetime. If the user loses permission after it is issued, the service may stop issuing new capabilities immediately while the existing one remains usable according to its signed policy. Whether additional revocation is required is a product and security decision.
Cache freshness can exceed or be shorter than capability life because they govern different things. Fresh retained bytes do not extend an expired viewer capability. Conversely, valid access does not make stale mutable content fresh. The request must satisfy both independent rules.
An urgent revocation requirement may need a short capability, an online deny rule, or product-supported revocation. That introduces latency, availability, and control-plane dependencies to evaluate. Avoid a claim of immediate revocation when the design only stops new signing.