AWS S3存储桶策略编辑器访问被拒绝 [英] AWS S3 Bucket policy editor access denied
问题描述
我已使用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:
-
在
Permissions
选项卡中,单击Block Public Access
设置.
In the
Permissions
tab click on theBlock 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屋!