我正在构建一个Web应用程序,并希望将用户的 Profiles 图像存储在S3上的存储桶中 .
-
我'd like my production environment'的桶是 public but read-only ,这样任何人都可以访问匿名存储的图像
-
理想情况下,我希望我的(非产品) dev 环境的S3存储桶是私有的或至少受到保护,以便对其内容的HTTP请求至少需要半身份验证(可能是“预先签名的URL”?)
-
无论环境如何,我都需要通过HTTP URL访问所有图像(例如:
http://s3.amazonaws.com/mybucket/someImage.png
)
What bucket settings or other configurations do I need to specify to achieve these 3 items?