Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict use of AmazonS3.listBuckets() #101

Open
sbeimin opened this issue Feb 26, 2018 · 0 comments
Open

Restrict use of AmazonS3.listBuckets() #101

sbeimin opened this issue Feb 26, 2018 · 0 comments

Comments

@sbeimin
Copy link

sbeimin commented Feb 26, 2018

We're running into a snag because the access key we have for our bucket is not authorized to do the ListAllMyBuckets call. This is a security decision since ListAllMyBuckets returns all buckets instead of just the bucket our access key is authorized to use.

S3FileStore.getBucket() uses the listBuckets() to get the Bucket object. Where possible this should be avoided.

sbeimin pushed a commit to sbeimin/Amazon-S3-FileSystem-NIO2 that referenced this issue Feb 26, 2018
sbeimin pushed a commit to sbeimin/Amazon-S3-FileSystem-NIO2 that referenced this issue Jun 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant