Make Amazon S3 Bucket public
To make an Amazon S3 bucket public, go to
Amazon Console > S3 > Bucket > Permission
Click on Permissions
Click “Bucket policy”
You get a blank editor. To make the bucket public, paste following code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
{ "Id": "Policy1380877762691", "Statement": [ { "Sid": "Stmt1380877761162", "Action": [ "s3:GetObject" ], "Effect": "Allow", "Resource": "arn:aws:s3:::<bucket-name>/*", "Principal": { "AWS": [ "*" ] } } ] } |
Replace
See Amazon S3