Skip to content

Instantly share code, notes, and snippets.

@mauryaratan
Created August 14, 2014 11:15
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 mauryaratan/a79273d2d49da9a9ba29 to your computer and use it in GitHub Desktop.
Save mauryaratan/a79273d2d49da9a9ba29 to your computer and use it in GitHub Desktop.
Set Amazon S3 to allow requests publicly. Make sure to replace 'Codestag' with your Amazon bucket name.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AddPerm",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::Codestag/*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment