none
How to Secure or mask the Video Streaming on Azure Blob Storage

    Question

  • I have a problem on using my Azure Blob Storage, this is for streaming specifically MP4 files.

    I have a wordpress site and I use Azure Blob Storage for my Storage, I use CloudberryExplorer for my browsing and editting

    My problem is that, the wordpress site Video Option which is MediaElemtJs have an exposed Video Source (This mean they can use the video source for their own project)

    Is their a way to mask or hide the video source? or I can limit the video source that it should only be coming from my site
    Monday, September 1, 2014 6:22 AM

Answers

All replies

  • Hi,

    Wordpress exposing the Source of your Video to Azure Blob Storage looks more like an issue with Wordpress rather than Azure Blob Storage.

    However you could try the hiding that you use wordpress with assistance from the following link:

    http://www.graemeboy.com/how-to-hide-that-you-use-wordpress/

    Or you could use a Video Bandwidth protector as in the below link:

    http://www.bmyers.com/public/1263.cfm

    Regards,
    Malar.

    Disclaimer: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.


    Monday, September 1, 2014 8:01 AM
  • I will take note of the Video Bandwidth Protector, by expose I mean the Video Source when you go Inspect Element or something.

    It is on MP4 and plays HTML5 so it is usually expose like that, one of the bigges cons of it.

    I am thinking if there is a way where the Blob Storage knows where it is being run and can be lock to a specific url or something
    Monday, September 1, 2014 9:59 AM
  • hi Franz,

    Base on my experience, there has two approaches for this issue.

    1.Using the SAS in js request.

    Like this:

    <source src="https://MY-AZURE-STORAGE.blob.core.windows.net/asset-b1ebfc63-4e1f-4c76-b2dd-b040113aa493/MigratingWebSitesAndDatabasesToWindowsAzure_mid.mp4?sv=2012-02-12&st=2013-09-03T17%3A17%3A20Z&se=2015-09-03T17%3A17%3A20Z&sr=c&si=efc57c3c-a025-41cd-a8b1-908231c7aed2&sig=xyiIxmqNdF%2Bo1x7eq89xCUgXkenZLEEpq%2B%2Bo715dT0U%3D" type="video/mp4">

    Please see this blog:http://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-shared-access-signature-part-1/

    You could set the start time,expire time  and permission into your request. And you could use javascript to create the request and set src value. please see this sample (http://gauravmantri.com/2013/02/16/uploading-large-files-in-windows-azure-blob-storage-using-shared-access-signature-html-and-javascript/ ).

    2.Create a web handler to handle the request url

    You could create a .ashx page and handle the url in .ashx page. Like this:

    <video src="videos.ashx?source=file.mp4" width="640" height="480" controls></video>

    Please try it.

    Also, you could see this threads http://stackoverflow.com/questions/9756837/prevent-html5-video-from-being-downloaded-right-click-saved form some ideas.

    Regards,

    Will 


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Tuesday, September 2, 2014 9:26 AM
    Moderator