Certified Security - Specialty

Sign Up Free or Log In to participate!

I This XML file does not appear to have any style information associated with it.

So I created an S3 bucket with Public Access permission. Inside the bucket I crated a standard index.html with a simple Hellow World message.  However, when I click on the Oject URL of the index.html object I get the following error:

This XML file does not appear to have any style information associated with it. The document tree is shown below.

AccessDeniedAccess Denied9D3D6AE0832352BAeYcFHGZtCDa97QmHMga2a7KwLhXuJTgT9InNOS2uHXnkgHAdjh2dFArBMKQE4SNA9+p32Kvayws=

This happens whether I am the bucket and file owner or as a different user who has only AmazonS3ReadOnlyAccess permission.

Any ideas what I’m missing?

TIA

2 Answers

Have you enabled the bucket for web hosting by chance?

You need to enable public access on the object itself as well as the bucket

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?