Services Plugins FAQs

Error Policies Wasabi

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/

]
}
}
}
]
}

Hi @lucas.air, thanks for your message.

Please note that the policy shared in the documentation is set for having access to files only from a certain domain.

Please be sure to indicate the effect correctly, as well as the bucket name and Bubble app URL, because any error in these values will make the policy erroneous.

Hope this helps. In there will be any other plugin-related questions, please let me know.

Regards,