# Cannot access public S3 bucket

**URL:** <https://community.dremio.com/t/cannot-access-public-s3-bucket/1064>\
**Category:** Uncategorized\
**Created:** [April 30, 2018, 6:28pm UTC](https://community.dremio.com/t/cannot-access-public-s3-bucket/1064 "2018-04-30T18:28:50Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![anthony](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/anthony/32/670_2.png) [@anthony](https://community.dremio.com/u/anthony)\
**Post date:** [May 1, 2018, 7:16pm UTC](https://community.dremio.com/t/cannot-access-public-s3-bucket/1064/5 "2018-05-01T19:16:48Z")

</div>

What do you have under the “Bucket Policy” tab under “Permissions” ?  
Maybe try setting it similar to below

> {  
> “Version”: “2012-10-17”,  
> “Statement”: [  
> {  
> “Effect”: “Allow”,  
> “Principal”: “_",  
> “Action”: [  
> “s3:ListBucket”,  
> “s3:GetBucketLocation”  
> ],  
> “Resource”: “arn:aws:s3:::samples.bucket”  
> },  
> {  
> “Sid”: “MakeItPublic”,  
> “Effect”: “Allow”,  
> “Principal”: "_”,  
> “Action”: “s3:GetObject”,  
> “Resource”: “arn:aws:s3:::samples.bucket/\*”  
> }  
> ]  
> }

---

_[View the full topic](https://community.dremio.com/t/cannot-access-public-s3-bucket/1064)._
