如何将预签名的URL用于带有CloudFlare的私人S3存储桶?
如何将我的S3文件私有以访问公共访问权限,而只能通过使用服务器生成的预先签名的URL,而将CloudFlare用作CDN?我用Cloudfront进行了这项工作,但我不确定如何在Cloudflare上做。
这个想法是允许用户仅使用预先签名的URL访问文件,如果他试图直接访问文件,则需要说“访问被拒绝”。
How can I make my S3 files private to public access and only make them accessible by using a pre-signed URL generated by the server, whilst using Cloudflare as a CDN? I made this work with Cloudfront but I'm not sure how to do it on Cloudflare.
The idea is to allow the user to only access the file by using a pre-signed URL, and if he tries to access the file directly it would need to say "Access denied".
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论