我可以创建一个 SAS url 来访问 C# 中 Azure 文件共享(即不是 Blob)目录的所有文件和文件夹吗?
Can I create a SAS url to access all files and folders of a directory in Azure File share (i.e. not Blobs) in C#?
我如何获得一个对 Azure 文件共享中的目录具有只读或只写权限的 Sas url 以访问该目录中的所有文件和子目录,但其他人无法访问它Azure 文件共享中的文件目录?
有没有什么方法可以使用 REST API 或 c# 中目录的客户端库来创建 sasToken?在 Microsoft 文档 (https://docs.microsoft.com/en-us/azure/storage/files/storage-files-faq) 中,他们表示可以使用 REST API 或客户端库创建共享访问签名,方法是在共享中指定对文件夹的只读或只写权限。
有什么建议吗?
How can I get a Sas url with read-only or write-only permission for a
directory in Azure File Share to access all files and sub directory in
that directory but it will not be accessible by other directory o
files in Azure File Share?
无法创建 SAS 令牌以仅限制对目录的访问。您可以为整个共享或文件创建 SAS 令牌,但不能为目录创建。
文件共享和 blob 现在支持目录范围的 SAS,有关详细信息,请参阅 this。
我如何获得一个对 Azure 文件共享中的目录具有只读或只写权限的 Sas url 以访问该目录中的所有文件和子目录,但其他人无法访问它Azure 文件共享中的文件目录?
有没有什么方法可以使用 REST API 或 c# 中目录的客户端库来创建 sasToken?在 Microsoft 文档 (https://docs.microsoft.com/en-us/azure/storage/files/storage-files-faq) 中,他们表示可以使用 REST API 或客户端库创建共享访问签名,方法是在共享中指定对文件夹的只读或只写权限。
有什么建议吗?
How can I get a Sas url with read-only or write-only permission for a directory in Azure File Share to access all files and sub directory in that directory but it will not be accessible by other directory o files in Azure File Share?
无法创建 SAS 令牌以仅限制对目录的访问。您可以为整个共享或文件创建 SAS 令牌,但不能为目录创建。
文件共享和 blob 现在支持目录范围的 SAS,有关详细信息,请参阅 this。