Good morning, I put the permissions to view the file in policies, but even so access is still denied. Can you help me?
{
“Id”: “acceptsonlyhttpreferer”,
“Version”: “2012-10-17”,
“Statement”: [
{
“Sid”: “Public”,
“Effect”: “Allow”,
“Principal”: {
“AWS”: “"
},
“Action”: “s3:GetObject”,
“Resource”: "arn:aws:s3:::nameBucket/”,
“Condition”: {
“StringNotLike”: {
“aws:Referer”: [
“https://mydomain.com.br/”,
“https://mydomain.com.br/",
“https://console.wasabisys.com/”,
"https://console.wasabisys.com/”
]
}
}
}
]
}