A signed media URL can limit the time during which a server accepts requests. The server checks its signature and conditions on receipt. Seeking, pausing for a long time or switching quality can trigger new requests after playback has already started.
A start before expiry and a request afterward
A fictional support portal shows a guide to signed-in customers. In a test environment, the link expires at 14:10. The first request at 14:08 succeeds. Shortly after 14:10, the tester seeks to a point that is not buffered. The new request can be refused, while a previously buffered segment may still play.
CloudFront specifically documents this behavior for its signed URLs: the expiration time is checked during an HTTP request. A download that starts before expiration can continue, but subsequent range requests may fail. Check with your own hosting provider to determine the conditions applicable to their delivery.
CloudFront and expiration time, as well as subsequent range requests
HLS playback may need more than the first playlist
An HLS player retrieves a playlist and then media segments. For some formats, an initialization file may also be included. Verify that the intended protection applies to all required files. A successfully loaded playlist does not guarantee that the next segment or another quality level is accessible. For example, CloudFront offers signed cookies as a possible alternative within its own service for several protected files.
RFC 8216 on HLS Playlists and Media Segments
CloudFront to signed URLs and signed cookies
Test the sharing along the intended viewer path
- Use an approved test video and a short-lived test link. Note its expiration time and whether the first request succeeds.
- After expiry, seek to a part that has not buffered, or open the expired link in a fresh session. Record time, request type and result. Keep the signature and other access values out of the notes.
- Open the lesson through its usual viewer route. Check whether authorized users can play again and what viewers without permission see.
For support and editorial teams, the final step is especially useful. A clear message with a backlink to the portal is more helpful than a player that simply stops working after expiration without any explanation.
Check delivery and intermediate caching at the video CDN
Contextualize viewer access and sharing rules within Vioneto