In this video, walk through accessing a file on Azure Storage by generating a shared access signature for read permission and using only the SAS token for retrieving the file.
- [Instructor] Let's use minimum privilege…to access a file on an Azure Share.…Now, this will have to be through the REST API,…so we'll use the Client Library…because the SMB protocol does not let us use…Active Directory to set permissions on files.…So, we'll go to our learnazuretoday storage account,…and you'll remember there is Access Keys…and these are essentially the root passwords…for getting access to this storage account.…So, we will use one of these keys…to generate less than full permissions,…so the access key will be our input,…our initial process for generating a token…for minimum privilege access.…
Those tokens are called shared access signatures.…So, here we will try and access a file…and we will try to read that file,…and we will set up that permission…by generating that shared access signature…based on one of the initial keys,…and we will do all of this programmatically.…So, going back to Visual Studio,…here we have our unit test project…and I'll add a new test,…and SAS is for shared access signatures.…
- Azure Storage overview
- Azure Storage security
- Deploying Azure Storage
- Accessing Azure Storage files
- Passing messages with Azure Storage queues
- Storing unstructured data with Azure Storage blobs
- Storing structured data in Azure Storage tables (Cosmos DB)
Skill Level Intermediate
4. Azure Storage Files
5. Azure Storage Queues
6. Azure Storage Blobs
7. Azure Storage Tables
Next steps1m 19s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.