Last Updated: February 25, 2016
·
512
· hjemmel

Permission to read in Amazon S3

Just add these lines beneath in Bucket Policy Editor:

{
    "Version": "2008-10-17",
    "Statement": [
        {
            "Sid": "AllowPublicRead",
            "Effect": "Allow",
            "Principal": {
                "AWS": "*"
            },
            "Action": "s3:GetObject",
            "Resource": "arn:aws:s3:::your_buckt_name/*"
        }
    ]
}