Skip to content

Instantly share code, notes, and snippets.

Avatar

George Butiri gbutiri

View GitHub Profile
@philfreo
philfreo / simple_allow_all.xml
Last active Oct 23, 2019
AWS S3 CORS policy examples
View simple_allow_all.xml
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<MaxAgeSeconds>3000</MaxAgeSeconds>
<AllowedHeader>Authorization</AllowedHeader>
<AllowedHeader>Content-*</AllowedHeader>
<AllowedHeader>Host</AllowedHeader>
</CORSRule>