在storage account的Blob service下创建Container,上传文件,在Advanced下选择
| Authentication type | Account key |
上传文件LICENSE ,会自动生成文件夹licenses。当前复制文件url粘贴到地址栏会被浏览器阻挡。
需要回到文件位置,切换到Generate SAS tab,赋值如下:
| Permissions | Read |
| Start date | yesterday’s date |
| Start time | current time |
| Expiry date | tomorrow’s date |
| Expiry time | current time |
| Allowed IP addresses | leave blank |
| Allowed protocols | HTTP |
| Signing key | Key 1 |
并点击 Generate SAS token and URL ,再次复制Blob SAS URL ,则访问成功。
本文参照:
https://microsoftlearning.github.io/AZ-104-MicrosoftAzureAdministrator/Instructions/Labs/LAB_07-Manage_Azure_Storage.html
附:
GRS和LRS:
在Storage account 的Configuration中的Replication下选择: Geo-redundant storage (GRS) Locally redundant storage (LRS)
在Geo-replication 下查看。 Geo-redundant storage (GRS) 有2个点; Locally redundant storage (LRS) 只有1个点。
最后
以上就是明理飞机最近收集整理的关于Azure 存储账户如何为他人共享文件的全部内容,更多相关Azure内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复