Skip to content

Instantly share code, notes, and snippets.

@Savjee
Created January 16, 2016 18:49
Show Gist options
  • Save Savjee/b4b3a21d143a30e7dc07 to your computer and use it in GitHub Desktop.
Save Savjee/b4b3a21d143a30e7dc07 to your computer and use it in GitHub Desktop.
s3-webhosting-bucket-policy
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::YOUR-BUCKET-NAME-HERE/*"
}
]
}
@Criztianx360
Copy link

Thanks a lot!

@philals
Copy link

philals commented Dec 24, 2016

Thanks!

@hardmantoplz
Copy link

When I try to add this I get:
Error
This policy contains invalid Json

@ipapasa
Copy link

ipapasa commented Mar 13, 2017

Thanks!

@kathy789
Copy link

Thanks !

@ashleybarrett
Copy link

Thanks for sharing.

@alejandro-bello
Copy link

Thanks!

@willhamilton24
Copy link

Thanks m8

@sudheer5561
Copy link

thank you!

@Utkarsh-sahu
Copy link

Thank you

@Wadihs
Copy link

Wadihs commented Sep 25, 2017

Thank you!

@BRYSTANDER
Copy link

Thanks!!

@andysartori
Copy link

Thank you!

@chocopuff2020
Copy link

Thank you!

@JoelLindow
Copy link

THANK YOU!

@NishadKumar
Copy link

Hey thanks a lot for sharing Xavier!! Loved the video too. Cheers.

@techmom215
Copy link

Thanks for sharing!

@git-repo-farm
Copy link

:D Gratzie seniore :)

@lucascyrne
Copy link

Thank you very much! cheers from brazil! you have awesome tutorials!

@schlinux
Copy link

schlinux commented Oct 8, 2018

Thanks!

@ketulrudani
Copy link

thanks

@siddharthkureel
Copy link

Thanks

@eugeneilin
Copy link

thanks!

@Jazy42
Copy link

Jazy42 commented Jul 2, 2020

thanks

@sridhar02
Copy link

thanks for the video tutorial

@majouleblanc
Copy link

thank you

@zrobin88
Copy link

Thank you for sharing!!

@parguita
Copy link

Thank you!

@goutham130161
Copy link

showing access denined??

@ireaneus
Copy link

same here Access Denied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment