Mobile app version of vmapp.org
Login or Join
Dunderdale272

: Storing Downloadable Content Securely For a site where users can purchase videos for download. What would be the best way to store the media? Any other helpful considerations are more than welcome.

@Dunderdale272

Posted in: #Security #Server #Video #WebHosting

For a site where users can purchase videos for download.

What would be the best way to store the media? Any other helpful considerations are more than welcome.


Outside the root directory?
Seperate server?
Changing permissions?


Also, to improve preformance, is there such a thing as hosting your website on one server. Then on another server configured more for large downloads and bandwidth, hosting all the downloadable content?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Dunderdale272

1 Comments

Sorted by latest first Latest Oldest Best

 

@Karen161

Your answer isn't that easy.

First things first ask yourself how many videos are you thinking about to store, and how many users and downloads are going to happen.

For scalability purposes, you should consider using a CDN (Content Distribtion Network). This fits and go further for your question about performance.

Also this go for your first question, once the content will be in many servers, it doesn't and shouldn't be in your domain. Let the domain control access/security, the CDN control the download.

But, again this is a scalable, high-traffic solution. For a small user base, simple videos, you can cut off a lot of implementation work and distriution issues by simpling using youtube/flickr/google videos.

Set them as private, then use their API to show content under your domain after logon.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme