I want to host a simple static site on AWS S3.
The only thing I want is to grant is READ-ONLY access, considering that mine is a static site.
For a similar problem, some time ago I found somewhere this bucket policy to overcome access problems
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::enrico-site/*"
}
]
}
Now I simply copy and paste this policy and I get a warning stating
Looking at the content of the policy, it seems it grants only GET and READ permissions, but I am far from an expert when it comes to security.
Considering that I want to grant anybody to access the static content of the bucket, i.e. READ ONLY but no WRITE permission, what is that I should do? Should I worry for the warning I get ?