I am using ASP.Net MVC to develop my website
I have hosted my website on Azure and my website url is like "https://myazurewebsite.azurewebsites.net". I have a login page to my website, without login they can not browse any of my Views.
But if i use URL like https://myazurewebsite.azurewebsites.net/js/myJS.js, then browser is rendering my js file. I don't want to show my JS files to unauthorized users.
I there any way to stop this through configuration or through code?