简体   繁体   English

Azure Blob存储安全

[英]Azure Blob Storage security

I want to mimic the features of a secure FTP Server, such that the end user would have to present credentials or a token before the end user can download a file. 我想模仿安全FTP服务器的功能,以便最终用户必须提供凭据或令牌,然后才能下载文件。

How can this be accomplished using blob storage? 如何使用Blob存储来实现? Shared Access Signatures does not work, as once you have the URL you have access to the file? 共享访问签名不起作用,因为一旦获得URL,就可以访问文件了? I want a feature such that the user either enters his/her credentials or presents token before the download. 我想要一个功能,使用户可以在下载之前输入其凭据或出示令牌。 Any Ideas? 有任何想法吗?

The recommended pattern is to write your own service that authenticates the user, checks if they're authorized for the requested resource, and then returns either: 推荐的模式是编写您自己的服务以对用户进行身份验证,检查用户是否获得了所请求资源的授权,然后返回以下任一信息:

the requested resource: 请求的资源: 在此处输入图片说明

or a Shared Access Signature for the requested resource: 或请求资源的共享访问签名: 在此处输入图片说明

http://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-shared-access-signature-part-1/#when-should-you-use-a-shared-access-signature http://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-shared-access-signature-part-1/#when-should-you-use-a-shared-access-signature

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM