Created
March 14, 2024 20:32
-
-
Save nasterfy/b40dddd1937e30cdf8bf9de907ca868a to your computer and use it in GitHub Desktop.
codiego para aws 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
{ | |
"Version":"2012-10-17", | |
"Id":"HTTP referer policy requests originating from emparejados.show", | |
"Statement":[ | |
{ | |
"Sid":"Allow only GET requests originating from emparejados.show and its subdomains.", | |
"Effect":"Allow", | |
"Principal":"*", | |
"Action":["s3:GetObject","s3:GetObjectVersion"], | |
"Resource":"arn:aws:s3:::emparejados.show/*", | |
"Condition":{ | |
"StringLike":{ | |
"aws:Referer":[ | |
"https://emparejados.show/*", | |
"https://*.emparejados.show/*" | |
] | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment