AWS S3存储桶策略编辑器访问被拒绝 [英] AWS S3 Bucket policy editor access denied

查看:285
本文介绍了AWS S3存储桶策略编辑器访问被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已使用root帐户登录,试图按照设置静态s3网站的说明内联公开访问存储桶. 但是,在运行存储桶策略时,我收到访问被拒绝的消息.

I am logged in with the root account trying to give public access to a bucket inline with the instructions for setting up a static s3 web site. However I get an access denied message when running the bucket policy.

该消息没有更多细节.

推荐答案

这可能是由于S3中的最新更改所致.要解决此问题,您需要为存储桶分配公共访问权限",请按照以下步骤操作:

This could be due to recent changes in S3. To fix this issue, you need to assign Public Access to the bucket, follow the below steps:

  1. Permissions选项卡中,单击Block Public Access设置.

  1. In the Permissions tab click on the Block Public Access settings.

单击这些设置右侧的Edit.

Click Edit to the right of these settings.

确保取消选择Block public access to buckets and objects granted through new public bucket or access point policies选项.

Make sure Block public access to buckets and objects granted through new public bucket or access point policies option is deselected.

单击Save.

返回Bucket Policy并重试.

这篇关于AWS S3存储桶策略编辑器访问被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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