question

ZTZ-9586 avatar image
0 Votes"
ZTZ-9586 asked ManuPhilip answered

Embedding Azure Blob files into HTML

I am looking for a way to embed Powerpoint and MS Word documents into HTML to be hosted on my web site. What is the best approach to achieve this securely?

azure-blob-storage
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ManuPhilip avatar image
0 Votes"
ManuPhilip answered

You may embed the URL in html pages as below:

https://cloudcompute.blob.core.windows.net/cloudcompute/program.docx?sv=2020-08-04&ss=bfqt&srt=o&sp=rwdlacuptfx&se=2021-07-24T11:51:57Z&st=2021-07-24T03:51:57Z&spr=https&sig=%2FkCausy4XvAasKoOhnDY%2BDJ2HcHpvGs8Zb15hhREG9Y%3D

Here, the bold text is the path of my blob
Text in italics is the SAS key
Create a SAS key and replace it. You may upload the files (doc, ppt etc) in blob container
Create the SAS key and get the value of "Blob service SAS URL" to embed in your html
117518-image.png



image.png (64.1 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.