Can you make a filepicker upload public on S3?

124 views Asked by At

I'd like the files I upload to S3 with Filepicker.io to be public. Is this possible?

1

There are 1 answers

0
markA On

Yes you can either make the bucket itself publicly accessible:

enter image description here

or grant permissions to everyone on a specific subfolder/object of your s3 Bucket by adding the following bucket policy:

{
    "Version": "2012-10-17",
    "Id": "123",
    "Statement": [
        {
            "Sid": "",
            "Effect": "Allow",
            "Principal": "*",
            "Action": "s3:**",
            "Resource": "arn:aws:s3:::mybucket/public/*"
        }
    ]
}