Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View gbutiri's full-sized avatar

George Butiri gbutiri

View GitHub Profile
@philfreo
philfreo / simple_allow_all.xml
Last active October 23, 2019 02:39
AWS S3 CORS policy examples
<?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>