Created
July 28, 2018 10:17
-
-
Save andy51002000/114bb991f26952a54d9d740689295c18 to your computer and use it in GitHub Desktop.
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
{ | |
"Sid": "Stmt1532888889", | |
"Effect": "Allow", | |
"Principal": "*", | |
"Action": "s3:GetObject", | |
"Resource": "arn:aws:s3:::mywebsite/home.html", | |
"Condition": { | |
"StringLike": { | |
"aws:Referer": "http://mywebsite.s3-website-us-east-1.amazonaws.com/index.html" | |
}, | |
"Null": { | |
"aws:Referer": "false" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment