Skip to content

Instantly share code, notes, and snippets.

@nasterfy
Created March 14, 2024 20:32
Show Gist options
  • Save nasterfy/b40dddd1937e30cdf8bf9de907ca868a to your computer and use it in GitHub Desktop.
Save nasterfy/b40dddd1937e30cdf8bf9de907ca868a to your computer and use it in GitHub Desktop.
codiego para aws s3
{
"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