I have stored HTML Page in private Blob container. I have generated Shared Access Signature and if i access the url of webpage with that signature then only web page loads in browser and images and JS files fails to load. ( As their URL are also requiring SAS key).
How to load webpage contents stored in private blob container i.e if i access the webpage url it should automatically load its associated data.
I think you have to use dynamic pages and some of page event to generate SAS URL of blobs. I really miss the point of using SAS on images and JS files. If somebody wants too much he will steal you these files anyway.
Windows Azure Consultant http://cloudikka.wordpress.com/ (Don't open this link, if you don't understand czech language)
How to secure those courses so that they are not publicly browse-able and also secure. Only our application should be able to browse those courses.
> How to secure those courses so that they are not publicly browse-able and also secure. Only our application should be able to browse those courses.
You can create a http handler to serve and secure files from blob storage. When the browser send a request to your service via
http://xxx.cloudapp.net/courses/style.css, it will be actually served by your own http handler. The http handler will get the actual file content (no matter it is a html, js or image file) from blob
storage and return the content. By using this way, we can protect the http handler using the the built-in ASP.NET authorization and authentication functionality. Or you can use your own way to authenticate users as you have full control of the http handler.