M3U8 Playlist

An M3U8 is the playlist file used by HLS to list a video's segments and quality renditions. Players read it to fetch and play segments in order. Because a plain M3U8 exposes segment URLs, unprotected or AES-128 streams described by one can be captured by download tools unless DRM and token-based playback are applied.

What is an M3U8 Playlist?

An M3U8 is the text playlist file used by HTTP Live Streaming (HLS) to describe a video: it lists the segment files and, in a master playlist, the available quality renditions. The player reads the M3U8 to know what to fetch and in what order.

How It Is Used

When a viewer plays an HLS stream, the player downloads the M3U8, then requests each listed segment and plays them back to back, switching renditions for adaptive bitrate. The playlist is the map of the stream.

Why It Is a Security Consideration

  • Exposed segment URLs: A plain M3U8 reveals where the segments live, which download tools exploit.
  • AES-128 is not enough: If the key URL is in or referenced by the playlist and reachable, rippers fetch it too.
  • DRM changes this: With DRM, keys go only to a protected module, so listing segments does not enable copying.

For Platform Owners

An M3U8 by itself offers no protection. Security comes from the encryption and access control layered onto the HLS stream it describes.