限制AWS S3桶只有某些情况下为/ GET请求 [英] Restricting AWS S3 bucket to only certain instances for /GET requests

查看:135
本文介绍了限制AWS S3桶只有某些情况下为/ GET请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计们,   我们已经(敏感)的图像和视频存储在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

这篇关于限制AWS S3桶只有某些情况下为/ GET请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆