KatInterview

Zero Trust Video Delivery: Access Models and Secure Streaming

System DesignModel answer
HardModel answerSystem Designzero-trustmedia-streamingsecurity

Last updated

Compare VPN, ZTNA, and RBI enforcement models, then design a chunk-level secure streaming pipeline for high-bitrate enterprise video under a Zero Trust policy.

Context

A large enterprise runs an internal video platform: recorded all-hands meetings, compliance training, and sensitive product briefings. Content is hosted across a hybrid cloud environment and must be reachable by both managed corporate laptops and unmanaged personal devices used by contractors.

The security team has given you two interconnected problems.


Part 1: Compare Three Remote-Access Models for High-Bitrate Media

Evaluate VPN, Zero Trust Network Access (ZTNA), and Remote Browser Isolation (RBI) as mechanisms for delivering web-streamed video to remote users.

For each model, address:

  • Where enforcement lives — at what layer does authentication, policy evaluation, and traffic inspection occur?
  • Blast radius on endpoint compromise — how far can an attacker move if they fully control the client machine?
  • Cost of carrying high-bitrate video — what are the bandwidth, latency, and compute trade-offs when the content is 1080p–4K (5–25 Mbps per stream)?

Part 2: Design a Secure Segmented Video Delivery Pipeline

Using ZTNA as the primary access model (with RBI as a fallback for unmanaged devices), design an end-to-end delivery architecture for adaptive-bitrate video (HLS or DASH/CMAF).

Your design must address all five of the following areas:

  1. Session bootstrap and manifest authorization — how does a client go from a fresh login to a playable manifest without receiving any long-lived credential?

  2. Per-segment authorization and integrity — how are individual .ts or .m4s chunks authorized and protected against URL sharing, unauthorized caching, and tampering?

  3. Caching and distribution strategy — compare a public edge CDN, a private enterprise reverse proxy, and an in-branch P2P mesh. For each, explain how ephemeral or signed URLs interact with cache hit ratios and what adjustments are required.

  4. Revocation at two granularities — contrast chunk/request-level token rotation (normal operation) with session-level revocation triggered by a mid-stream de-provisioning event. What is the worst-case exposure window, and how do you bound it?

  5. RBI and high-resolution video — pixel streaming a 4K video inside a remote browser container is expensive and degrades quality. Describe a more efficient architecture for handling video inside the isolated browser without fully re-encoding every frame.


What a strong answer looks like

  • Precise placement of each enforcement boundary (not just "the cloud")
  • Quantified trade-offs where possible (scale, latency, TTL values, egress numbers)
  • Recognition that caching and revocation are in tension and a concrete resolution
  • A clear explanation of why caching encrypted ciphertext is safe and how it changes the CDN keying strategy
  • A viable RBI media optimization that avoids the full decode → re-encode loop

Hints

Hint 1

For Part 1, anchor each model to a specific enforcement point in the network stack — VPN operates at L3/L4, ZTNA at the application session level, and RBI even further in (content never executes locally). Blast radius follows directly from where trust is established.

Hint 2

For per-segment security, there is a direct conflict between unique per-user signed URLs (strong authorization) and CDN cache hit ratio (efficiency). Think about what part of the URL the CDN uses as its cache key, and whether you can separate the authorization signal from the cache key.

Hint 3

Revocation has two distinct timescales: the token TTL governs how stale a chunk-level decision can be, while session revocation is an event-driven push. The worst-case exposure window is bounded by the shorter of the token lifetime and the key rotation period, plus the client's forward buffer — state that bound explicitly.