限制AWS S3桶只有某些情况下为/ GET请求情况下、AWS、GET

2023-09-11 10:11:04 作者:心动

伙计们,   我们已经(敏感)的图像和视频存储在S3存储桶。想只允许我们的Web服务器实例能够通过HTTP调用来访问这些桶中的数据。什么是我们的选择?

Folks, We have (sensitive) images and video stored in an S3 bucket. Would like to only allow our web server instances to be able to access the data in these buckets via http calls. What are our options?

感谢

推荐答案

创建将限制访问的策略:

Create a policy that will restrict access:

的http://docs.aws.amazon.com/AmazonS3/latest/dev/AccessPolicyLanguage_UseCases_s3_a.html

http://awspolicygen.s3.amazonaws.com/policygen.html