Answer the question
In order to leave comments, you need to log in
How to solve the problem with access denied in s3 amazon?
How to configure access to view images for all users?
if you try to knock
https://florachaing-ru.s3.eu-north-1.amazonaws.com/shops/2/clients/1de7e82ec6c4ef96472f4d2f7c8e41ba.jpeg
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>21E0167572B6E56E</RequestId>
<HostId>2kdjr7LFuMjhBRJd43EmPreEW3mROi4opteaFRg1q6wiyh2yMs/PQxDWXyVIYd14Q2ANJoI7GEk=</HostId>
</Error>
Answer the question
In order to leave comments, you need to log in
Buckets > BUCKET_NAME > Permissions > Bucket policy > Edit
{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "AllowPublicRead",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::BUCKET_NAME/*"
}
]
}
It is advisable to give your IAM role that you use to gain access to the account.
Permissions to view the cart. You can make an attachment policy or in json.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question