I have an S3 bucket. When accessing its root URL via https://s3.amazonaws.com/... it tells me Access denied
.
This S3 bucket doesn't have any permission rules defined for Everyone
.
However, accessing the same bucket via our CloudFront Domain Name
a full ListBucketResult
is being returned.
CloudFront is giving a full directory listing, which we want to prevent.
How can I disable that listing via CloudFront?
I tried invalidating all objects (*
) in CloudFront, without effect.
C Name
domain) and d1c44h11n1ag93.cloudfront.net