In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
This article shares with you how to use SAS to protect the security of Azure Storage. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.
A storage account named "sql12bak" has been prepared:
In the storage account, a container named "test" is prepared and some files used by the test are uploaded:
With the above preparations, we can return to the main page of the storage account and see the Shared access signature tab:
After clicking to enter Shared access signature, we can see the following types of settings:
Allowed services: we can choose the services that can be provided to users. Allowed permissions: we can choose which permissions to grant to the user. Start and end: we can set the availability period. Allowed IP address: we can whitelist IP access to the storage account. Allowed protocols: only HTTPS or http and https
In this example, we will configure the following permissions:
Read, list: so that the user can read and list the files under the account, but cannot delete, write, or add goods creation resources to the storage account.
At the same time, we configure that only HTTPS protocol is allowed to access, and then click to generate connection string:
After generating the SAS and the connection string, copy the "Blob service SAS URL":
Open Microsoft Azure Storage Explorer and click add account:
In Connect to Azure Storage, select use shared access signature (SAS) URI, and then click next:
Paste the copied URL. When you paste URL, it automatically updates the other text boxes, and then clicks Next.
To confirm, click on the link:
In the storage account we prepared, we can find the "test" container. In the container, we can see that there are multiple test files:
I can read the file when I double-click test.txt because we have previously granted read permission:
But when I try to delete or upload a file, it prompts us that we don't have permissions:
After reading the above, have you mastered the method of using SAS to protect the security of Azure Storage? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.