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

请问1.87版本S3网关需要身份验证了,怎么匿名访问? #1413

Closed
gao2009ss opened this issue Aug 5, 2020 · 3 comments
Closed

Comments

@gao2009ss
Copy link

使用S3网关,在1.86之前的版本上传的文件可以在浏览器上输入地址直接访问,
升级到1.87后浏览器上输入地址访问显示AccessDenied了,请问怎么设置才能匿名访问?

例如浏览器可直接访问http://127.0.0.1:8333/testbucket/file/2778927da4.jpg

@chrislusf
Copy link
Collaborator

you can remove the config setting in weed s3 -config=...

@gao2009ss
Copy link
Author

删除了-config=...不能用密钥上传文件了吧,我想怎么做到像AWS那样,上传后的文件可以公开访问,但是需要密钥才能上传

chrislusf added a commit that referenced this issue Aug 6, 2020
@chrislusf
Copy link
Collaborator

Just added a fix for this.

See https://github.com/chrislusf/seaweedfs/wiki/Amazon-S3-API#configuration-example you can add an anonymous identity.

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

2 participants