Created
June 20, 2016 14:52
-
-
Save brusch/184d646b927790674d1c50d49b9e5c1a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// PUT THE FOLLOWING INTO YOUR "BUCKET POLICY" AND RENAME 'pimcore-demo' WITH THE NAME OF YOUR S3-BUCKET | |
{ | |
"Version": "2008-10-17", | |
"Id": "Policy1380877762691", | |
"Statement": [ | |
{ | |
"Sid": "Stmt1380877761162", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "*" | |
}, | |
"Action": "s3:GetObject", | |
"Resource": "arn:aws:s3:::pimcore-demo/tmp/*" | |
}, | |
{ | |
"Sid": "Stmt1380877761163", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "*" | |
}, | |
"Action": "s3:GetObject", | |
"Resource": "arn:aws:s3:::pimcore-demo/assets/*" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment