Skip to content

Instantly share code, notes, and snippets.

@na5imuzzaman
Forked from jsoma/CORS.json
Created April 29, 2021 14:36
Show Gist options
  • Save na5imuzzaman/3c629af3755a7bfcfe0336c0107892ba to your computer and use it in GitHub Desktop.
Save na5imuzzaman/3c629af3755a7bfcfe0336c0107892ba to your computer and use it in GitHub Desktop.
CORS public access (new JSON version)
{
"Version":"2012-10-17",
"Statement":[
{
"Sid":"PublicRead",
"Effect":"Allow",
"Principal": "*",
"Action":["s3:GetObject","s3:GetObjectVersion"],
"Resource":["arn:aws:s3:::YOUR_BUCKET_NAME_GOES_HERE/*"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment