Can I hide webresource.axd and scriptresource.axd files?

 I am getting an email from the security team, saying that webresource.axd and scriptresource.axd are visible. How do I hide it ?

Answered by Adam Lipscomb

This question seems more to fit in stack overflow. However you can remove those files by adding following to all my web.config files


       

       

       

       

 

Now when you try to get these pages you might be prompted to login or given a 404 error. Also remove them from in


     

         

     



 


 

 





Your Answer

Interviews

Parent Categories