Is there a way to prevent my video files from being downloaded

Posted October 28, 2020 531 views
Object Storage

I am trying to create a web app with a list of video files which a user may watch but can’t download. Is there a way to realize this with digital ocean means?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

What you are describing it hotlink protection, and this isn’t a built in part of the service, so you would need to add that separately. Depending on which type of files you serve, how they are intended to be accessed, and so forth there are different approaches. If you are specifically working with video files, you can embed them inside of a player on a webpage, and then look for player that has built in protection for hot-linking.