Skip to content

A small static website will be hosted in Azure blob storage(Container) and then we will access it directly with URL and then generate SAS token and then acess it with SAS token

Notifications You must be signed in to change notification settings

ssquadri/Static-Website-in-Azure-Blob-SAS-Token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Static-Website-in-Azure-Blob-SAS-Token

A small static website will be hosted in Azure blob storage(Container) and then we will access it directly with URL and then generate SAS token and then acess it with SAS token

Here is the Step-By-Step Guide to the project

Step 1 -Create A Storage Account in Azure

1.Create Storage Account in Azure.png

Setp 2 -Create container (blob storage) inside Azure Storage Account

2.create container inside azure storage account.png

Step 3 -Upload the HTML code file inside the Container

Code for website.txt

Landing page.htm

3.upload the HTML code file inside the container.png

Step 4 -Once its Uploaded then click on it and then copy its URL (make Sure the container Access tier is anonymous for container and blobs)

4.copy url and make sure its public access.png

Step 5 -Open Incognito in chrome to test the URL

5.open Inconito mode and paste url.png

Step 6- Paste the URL and see the website # Screenshot of Landing page is included in this repository

6.see the website.png

Step 7-Now change the Access tier to Private NO anonymous Access

7.change access to private.png

Step 8 -Repeat the same process of opening and psting URL in Incognito , Website is no longer visible

8.after changing access to private , nothing is visible.png

Step 9-Now go to the HTML file in the container and create SAS token for it (SAS token is limited time & Limited access URL link)

9.create SAS token for limited access for limited time.png

Step 10-Copy the SAS token URL and paste in Incognito to see the result, Also note that once the time is over it will no longer be visible to after time expires.

10. Paste SAS token URL.png

11.SAS token URL of the HTML file.png

12.azure logs of activity.png

13.once work is done delete the storage account.png

About

A small static website will be hosted in Azure blob storage(Container) and then we will access it directly with URL and then generate SAS token and then acess it with SAS token

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages