Forum Discussion

dpnotnull's avatar
dpnotnull
Icon for Bronze I rankBronze I
2 days ago
Solved

Securing Web Applications with AWS WAF and CloudFront ---- Configuring Secure Web Hosting with AWS CloudFront

When I was editing the s3 bucket policy according to the task in the lab, 

I got an error saying :

You either don’t have permissions to edit the bucket policy, or your bucket policy grants a level of public access that conflicts with your Block Public Access settings. 

Could you take a look and help me out? Thanks🙂

  • There's no need to edit the s3 bucket policy...why and how there are two options you'll figure out yourself. Just look again at the "Permissions" page.

2 Replies

  • There's no need to edit the s3 bucket policy...why and how there are two options you'll figure out yourself. Just look again at the "Permissions" page.

    • dpnotnull's avatar
      dpnotnull
      Icon for Bronze I rankBronze I

      Thank you for your prompt🤝🤝.

      Found that when creating the distribution, for Standard logging configuration:

      Should select Amazon S3 (legacy) instead of Amazon S3.

      Thank you very much🙏😄