我该如何保护我的Amazon S3的照片,但还是让他们可通过网址? [英] How do I secure my Amazon S3 photos but still make them available via URLs?

查看:145
本文介绍了我该如何保护我的Amazon S3的照片,但还是让他们可通过网址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打算让我的(家庭)照片集可在网上。我想使用S3和建立,将显示该照片的ASP.NET网站。我不希望网站拉下了S3的内容并将其返回给浏览器。我希望浏览器能够直接进入到S3,而不会影响我的ASP.NET带宽。

I'm planning on making my (family) photo collection available online. I want to use S3 and build an ASP.NET site that will display the photos. I don't want the website to pull down the S3 content and return it to the browser. I want browsers to be able to go directly to S3 without affecting my ASP.NET bandwidth.

这是不可能建立的网址为每张照片,如果我设置S3权限公开,但我只想要的照片是游客到我的网站,谁拥有该URL不是任何人都可以访问。

It is possible to build URLs for each photo if I set the S3 permission to public, but I only want the photos to be accessible by visitors to my website, not anyone who has the URL.

任何想法大大AP preciated!

Any ideas greatly appreciated!

推荐答案

您可以在S3上生成,以确保资源的临时网址。

You can generate temporary URLs to secured resources on S3.

S3签名和验证REST请求底部

这篇关于我该如何保护我的Amazon S3的照片,但还是让他们可通过网址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆