Skip to content

Instantly share code, notes, and snippets.

View ahmed0007's full-sized avatar

Ahmed Attia ahmed0007

View GitHub Profile
@ahmed0007
ahmed0007 / amz-s3-bucket-policy
Created July 2, 2019 06:49 — forked from alicial/amz-s3-bucket-policy
Amazon S3 Bucket Policy to prevent hot linking
{
"Version": "2008-10-17",
"Id": "0c762de8-f56b-488d-a4a4-20d1cb31df2f",
"Statement": [
{
"Sid": "Allow in my domains",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},