Skip to content

Instantly share code, notes, and snippets.

@jookyboi
Created March 22, 2013 03:28
Show Gist options
  • Save jookyboi/5218730 to your computer and use it in GitHub Desktop.
Save jookyboi/5218730 to your computer and use it in GitHub Desktop.
Amazon S3 public read-only bucket policy. Replace "bucket" with the actual name of your S3 bucket. http://stackoverflow.com/questions/2547046/make-a-bucket-public-in-amazon-s3
{
"Version": "2008-10-17",
"Statement": [{
"Sid": "AllowPublicRead",
"Effect": "Allow",
"Principal": { "AWS": "*" },
"Action": ["s3:GetObject"],
"Resource": ["arn:aws:s3:::bucket/*" ]
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment