For different reasons I'm using Azure's App Service to serve static files. I would like to secure this access by Http Basic Authentication which is enough for my purposes. How can I do that? I tried uploading .htpasswd but it does not seem to work.

I'm not using ASP.NET so no way to do it in code. In Azure's portal I see options like Google, Facebook, Twitter login under App Service -> Authentication/Authorization but it's huge overhead for me.


Currently, it is not possible. Azure webapp does not support this.

You could check this feedback.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.