最佳实践:AmazonS3 url 共享
我计划将对 AmazonS3 上的文件的访问保留为私有。但我想与有限的一组人共享文件 URL。
建议这样做的方法是什么?
I planning to keep access to files on AmazonS3 as private. But I would like to share file URL with a limited group of people.
What is recommended way for doing this ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只需创建一个签名、限时网址并与他们共享以任何你喜欢的方式。
您还可以考虑使用 AWS Identity and Access Management (IAM)(目前处于测试版)的其他方式来控制访问。但是,老实说,查询字符串身份验证将是最简单的实现方式,并且适合大多数用例。
Just create a signed, time limited url and share it with them in whatever way you like.
You could also look at using AWS Identity and Access Management (IAM) (currently in Beta) for other ways to control access. But, honestly, querystring authentication is going to be the simplest to implement and should be fine for the majority of use cases.