预先签名的网址 [英] pre-signed URL

查看:89
本文介绍了预先签名的网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Azure文件存储是否提供生成预签名URL的服务,以便上传或下载文件?

与Amazon S3类似?

Does Azure file storage provide a service to generate a pre-signed URL so that files can be uploaded or downloaded?
Like in Amazon S3?

推荐答案

您好Grace, 

Hello Grace, 

感谢您在此发布!

Azure Blob存储是Microsoft的对象存储解决方案云。

Azure Blob storage is Microsoft's object storage solution for the cloud.

AWS Simple Storage Services(S3)和Azure Blob Storage的功能类似。在简单的定义中,它们都允许您以任何文件格式将大量数据存储到云中(如果文件存在,则可以存储它)。两者都具有可扩展且可靠的大幅

The functionality of AWS Simple Storage Services (S3) and Azure Blob Storage are similar. In simple definition, they both allows you to store huge amount of data into the cloud in the any file format (if the file exists, you can store it). Both are massively scalable and reliable.

  S3 Buckets 和Blob Containers 大致相同。这些文件在技术上称为S3中的对象和Azure Blob存储中的blob。

The S3 Buckets and Blob Containers are roughly equivalent. The files are technically called as objects in S3 and blobs in Azure Blob Storage.

两个系统都提供Rest API以与其他更高级别的语言一起使用。

Both systems provide a Rest API to work with other higher-level languages.

您可以公开公开存储桶和容器。

You can expose both buckets and containers publicly.

网址如下所示:

在亚马逊:s3.amazonaws .com / [BucketName] / [FileName]

In Amazon : s3.amazonaws.com/[BucketName]/[FileName]

在Azure中:[StorageAccount] .blob.core.windows.net / [Container] / [FileName]

In Azure : [StorageAccount].blob.core.windows.net/[Container]/[FileName]

在Azure中,存储帐户名称必须是唯一的,而在S3中,存储桶名称必须是唯一的。

In Azure, the storage account name must be unique while in S3 the bucket name that must be unique.

Azure Blob存储有许多选项,如Identity Access Mangemnet( IAM ),

不可变策略

访问层
,访问控制L ist( ACL )和  共享
访问签名
,而Amazon S3有许多访问控制机制,如身份和访问管理( IAM ),   Bucket
政策
,访问控制列表( ACL )。

Azure Blob Storage has many options like Identity Access Mangemnet (IAM), Immutable policy , Access Tiers, Access Control List (ACL) and Shared Access Signatures, whereas Amazon S3 has many access control mechanisms such as Identity and Access Management (IAM), Bucket policies, Access Control List (ACL).

您可以使用
SAS
上传和下载。有关更多信息,请参阅,如何使用存储
资源管理器

Azure门户

powershell

C#
,您也可以参考示例
here

You can use SAS to upload and download. For more information you can refer, how to generate the SAS token using Storage explorer, Azure portal, powershell and C# and also you can refer the example here .

您可以在此处检查AZURE& ;;之间的服务比较。 AWS
here
。希望这对您有所帮助!

You can check the Service comparisons here between AZURE & AWS here. Hope this helps you!

如果您需要任何进一步的帮助,请告诉我们。

Let us know if you need any further assistance on this.

这篇关于预先签名的网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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