unable to disable download option in azure blob storage for video files

Bhoodev Sharma 0 Reputation points
2025-04-18T11:30:34.2666667+00:00

unable to disable download option in azure blob storage for video files

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,554 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marcin Policht 45,400 Reputation points MVP Moderator
    2025-04-18T12:04:36.7466667+00:00

    If you're trying to prevent users from downloading video files stored in Azure Blob Storage, it's important to understand that Azure Blob Storage has no native way to stream-only or disable downloading. Any file that is accessible (even for streaming) can be downloaded — streaming is downloading, just in chunks.

    There are a couple of alternatives you might consider:

    1. Use a secured service (like Azure Media Services). If you want to stream video securely (e.g., with DRM, token-based access, no easy download), Azure Media Services is purpose-built for this. It:
    • Encodes your videos into streaming formats (HLS, MPEG-DASH)
    • Supports token-authenticated streaming
    • Works with DRM systems (PlayReady, Widevine, FairPlay)
    • Makes it harder to download via casual means (though not impossible to a determined user)
    1. Use Shared Access Signatures (SAS) and limit permissions If you're using raw Azure Blob URLs:
    • Use SAS tokens with:
      • Expiry time (short-lived)
      • Read only, no List, Write, Delete
      • No container-level access

    But note that even a read-only SAS allows video playback and download via browser or script. You're only controlling who can access, not how they use it.


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.