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

453    Asked by AndrewJenkins in Cyber Security , Asked on Mar 23, 2022

 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 Anil Jha

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