Skip to content

Instantly share code, notes, and snippets.

@prokizzle
Created August 20, 2015 23:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prokizzle/f2bd893777cff4f6da2e to your computer and use it in GitHub Desktop.
Save prokizzle/f2bd893777cff4f6da2e to your computer and use it in GitHub Desktop.
AWS S3 Bucket CDN Default Public Policy
// http://stackoverflow.com/questions/7420209/amazon-s3-permission-problem-how-to-set-permissions-for-all-files-at-once
{
"Version":"2008-10-17",
"Id":"http referer policy example",
"Statement":[
{
"Sid":"readonly policy",
"Effect":"Allow",
"Principal":"*",
"Action":"s3:GetObject",
"Resource":"arn:aws:s3:::mybucket/*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment