问题
I have videos containing educational content. I'd like to distribute these videos using S3 and my DNN site. I've created my s3 bucket with all the videos. I'd like users to be able to log in and be able to download the videos that they have paid for.
Also, i'd like to prevent users from sharing video urls(hotlinking). I've looked into private distributions but it seems a little complicated as far as signed urls.
Ideally, I'd have some kind of a policy on cloudfront that would only allow videos to be download from my own domain.(i remember doing something like this with s3 itself where i would add a custom acl that would specify the httpreferrer)
Thanks for your help, my head was about to explode due to information overload.
Cristian
回答1:
The ideal would be to use a plugin that generates the expiring URLs for you. If you are on Joomla or Wordpress, you may want to look into S3Media Stream. Just google it and you will find it quite easily.
I hope this helps?
来源:https://stackoverflow.com/questions/7234684/how-to-secure-downloads-using-cloudfront