Protect audio from being downloaded from S3 storage - audio

There is a database of audio files that will be stored in the S3 storage. The functionality of the site implies their playback, but not downloading. What can I do so that the file can't be downloaded just by getting a link to it from inspect browser.
The backend is written with Django REST API, the frontend with Nuxt.
I would be grateful for help in the direction of thought.
Now some advanced users can get a link directly to the audio file and download it, although only the playback functionality of the site is shown. This is possible by using inspect(F12) and further tracking the change of content on the page when you click on the "play" button.

Related

How to download file directly to aws storage using lambda

im working on integrating zoom into my application and im stuck at a certain point.
So basically i want to get the zoom recordings of a user and download it into my aws s3 bucket.
using the zoom api to get recordings give you two links, a play link which leads you into zoom ui with the video of the recording and a download link. I want the users zoom recordings to play on my website using my ui, therefore i need to use the download link. Therefore i want to use my back end server (node) to get the download link and download the file then upload the file to aws.
Is that in anyway possible? or is there another way i could go about this problem?. Please i am in dire need of this help.
Thanks.

Drupal 7: Playback of Audio Files Stored on Google Drive

We're working with a client that is required to post audio of meeting minutes. Their current method of storing these audio files is Google Drive and they would prefer not to change that. As it stands, the site has links to the audio file on Google Drive which sends you to Google Drive and asks you to download the file. This is very inefficient. Does anyone know of a way to link to or stream a file hosted on Google Drive to make it more seamless or user friendly?
They are currently using WMA files, but if need be, we can request that they use MP3 or WAV. The link below will give you an idea what we're looking to improve.
Thanks in advance.
https://asbcs.az.gov/board-staff-information/meeting-dates-materials

HTML5 Video Rendering on ASP.net MVC5 website

I have a bit of a problem, I dont know why but I cant render video files on my site.
I made a project where my Videos are inside my asset folder, and it is called by a video tag.
It works on localhost, there are no problems but when I publish it
The images work but the video does not play.
Then I Tried Blob Storage, using Azure Storage Explorer I uploaded my video files in a public Blob. But same thing, it does not load but I can download the video file (I dont get this part)
Lastly I use Media Service which works good but the problem is, the Azure Manager of Media Service sucks, I need to upload tons of video and the UX in Azure does not help at all. there is no batch uploading or what so ever and I need to publish one by one.
So I made a code for it (Upload -> Encode -> Publish) but my biggest problem now is Upload.
The part where I will upload my IassetFile
assetFile.Upload(uploadFilePath);
This always fail with 100mb++ Files, but if it is 20mb++ it works ok.
I'm quite a bind, I dont know anymore what to do.
Can anyone give suggestion on how Can I proceed with this problem, the best case is that
Is there a configuration in azure website where I can activate so I can play videos?
You can convert video files you have already uploaded into blob storage into media services assets. The guidance from Microsoft on how to do this is here: http://msdn.microsoft.com/en-us/library/jj933290.aspx
You should also be able to leverage the raw MP4 blob that is produced as the baseline media asset if you don't wish to utilise smooth streaming or similar services. This asset has a long URL with a SAS access key.

How to make an offline browser on ios?

I need to make an offline browser on ios, which should persistent the specified webpages to the disk with the media resource such as image,css,js. At the same time, the offline browser should be able to download mutiple levels of the website automaticly, for example, make it download the webpage and all the pages linked in this webpage.
I've tried the ASIWebpageRequest,but it is not satisfying, and can not download muti levels.
Are there any other way to implement this perfectly?Can AFNetworing or MKNetworkKit do this?
Thank you very very much!

Unable to link directly to WMV video file

I have a wmv video hosted in SharePoint. I've created a Content Editor web part with a bit of custom content and I've placed a simple link to the video Click to view.
There is really nothing special going on here. Some users can click on the link and the video opens in their default video player. Other users see a range of different errors/prompts. Some users are prompted for their network credentials and others receive a generic "Internet Explorer cannot display the webpage.
The same problems occur if I create a generic HTML web page (outside of SharePoint) and have users try to launch the video.
I am trying to avoid embedding the video in the HTML and just have users link directly to the video itself.
Has anyone encountered this issue and do you have any suggestions for making this work?
This appears to be a combination of browser issues and file security.
People are being asked for their network credentials because the file itself is not "public"; it requires authentication to be read, or appears to do so from your description. Different browsers will display different messages when attempting to authenticate for the file.
Additionally, the default player for a browser may not be set or the browser may not allow passoff to third party programs, both of which will generate different messages for different browsers. This will always be an issue for hot-linked videos, and there's nothing you can do about it except use some guaranteed playback platform that all consuming browsers must have installed, such as Flash or Silverlight. That comes with issues all on its own, but such is the nature of the online world.

Resources