Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何限制对我网站上 url 的访问,并且只允许我的客户端应用程序访问这些 url。我正在输入一个 rest api 来请求 url,并认为我可以像 AWS S3 那样使用公钥/私钥。我的理解是,在传输过程中我仍然需要 SSL 证书来保护数据。
这看起来是正确的方法吗?我也不确定如何在服务器端生成密钥。我在 Rails 和 php 中编码。
我将使用查询请求身份验证来保护下载 url。
http://docs.amazonwebservices.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/index.html?Query_QueryAuth.html