Created
June 4, 2012 05:38
-
-
Save monokrome/2866543 to your computer and use it in GitHub Desktop.
Allowing anonymous access to files on S3.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Id": "Policy<ENTER_RANDOM_NUMBERS_HERE>", | |
"Statement": [ | |
{ | |
"Sid": "Stmt<ENTER_RANDOM_NUMBERS_HERE>", | |
"Action": [ | |
"s3:GetObject" | |
], | |
"Effect": "Allow", | |
"Resource": "arn:aws:s3:::your.bucket.name/*", | |
"Principal": { | |
"AWS": [ | |
"*" | |
] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment