AWS S3 Bucket policy editor access denied

前端 未结 2 1289
死守一世寂寞
死守一世寂寞 2020-12-24 12:03

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 denie

相关标签:
2条回答
  • 2020-12-24 12:31

    "Manage public bucket policies for this bucket" section need to be unchecked for to introduce "Allow" policies.

    But be cautious, unchecking these might enable you to introduce a policy but that policy is a public policy making your bucket public.

    Having these checked - You won't be able to introduce "Allow" policies that for this bucket.

    You can however introduce "Deny" policies, with these options checked.

    0 讨论(0)
  • 2020-12-24 12:49

    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. In the Permissions tab click on the Block Public Access settings.

    2. Click Edit to the right of these settings.

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

    4. Click Save.

    5. Go back to the Bucket Policy and try again.

    0 讨论(0)
提交回复
热议问题