开发者

How to make file downloads accessible by only some users in your system

开发者 https://www.devze.com 2023-04-09 02:58 出处:网络
What is a good way for making only certain users in my web application able to download a certain file? For instance, if a user purchased a pdf on my website, what methods could I use so thatonly the

What is a good way for making only certain users in my web application able to download a certain file? For instance, if a user purchased a pdf on my website, what methods could I use so that only the people who purchased this pdf could download it? I've read that I could store file names as GUID's and then just rename them upon download. I am looking for a method that is secure, prac开发者_开发问答tical and would work with amazon s3 web services.

0

精彩评论

暂无评论...
验证码 换一张
取 消