Access control for static content served from S3?

I am thinking of serving user-specific static content from S3 — the user must authenticate in order to access their static content. Therefore, if user A has content c1, c2 and uses B, has c3, c4, only A should have access to c1, c2.

What a good way to do this? Is there a way to perform for each user / to authenticate a file in S3?

+3
source share
1 answer
  • You can use pre-authorized URLs.
  • a) You can use ACLs and each user to log in b) ACLs for mailing lists also work.

URL- http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1434

ACL http://docs.amazonwebservices.com/AmazonS3/latest/S3_ACLs.html

, . , .

+1

Source: https://habr.com/ru/post/1704352/


All Articles