I have generated a presigned s3 url. When trying to access it from the JS code, I am getting error "No 'Access-Control-Allow-Origin' header is present on the requested resource" and my bucket cors configuration was
<CORSConfiguration>
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<MaxAgeSeconds>3000</MaxAgeSeconds>
<AllowedHeader>Authorization</AllowedHeader>
</CORSRule>
</CORSConfiguration>
Based on few resources I have found online like - CORS. Presigned URL. S3 etc I have changed the cors configuration to
<CORSConfiguration>
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<MaxAgeSeconds>3000</MaxAgeSeconds>
<AllowedHeader>*</AllowedHeader>
</CORSRule>
</CORSConfiguration>
and it worked and I am able to access the url through the js code. But I am trying to understand if there are any security implications for changing this tag from Authorization to *.
Please let me know.