I am hosting a static website through the $web
container in the BLOB storage of an azure storage account. The minified JS in that container contains sensitive data, for example an azure-tables key.
According to the documentation:
You can modify the public access level of the $web container, but this has no impact on the primary static website endpoint because these files are served through anonymous access requests. That means public (read-only) access to all files.
Is there any way to limit access to the website's content (especially the minified JS sitting in the $web
container)?
The minified JS in that container contains sensitive data, for example an azure-tables key.
- It's really a VERY BAD IDEA to keep the keys (assuming you're talking about storage keys) in a JS file. – Gaurav Mantri