Good morning,
We have been using for several months your plugin to upload files to our AWS s3 bucket. The problem is that if we set in the CORS configuration the following JSON, the plugin returns the error RESPOND 0, and does not allow to upload any file:
[
{
"AllowedHeaders": [
"*"
],
"AllowedMethods": [
"GET",
"PUT",
"DELETE",
"POST"
],
"AllowedOrigins": [
"MYDOMAIN",
"MYDOMAIN2"
],
"ExposeHeaders": [
"ETag"
],
"maxAgeSeconds": 30000
}
]
The only solution we have found is to allow setting the AllowedOrigins to “*”, but that involves a bit of insecurity in that anyone could upload files to the bucket.
"AllowedOrigins": [
"*"
],
It also doesn’t work correctly to access the files only from our url.
I followed the instructions in this url: https://docs.zeroqode.com/plugins/aws-file-uploader-plugin
Could you help us?
Thanks