How to Prevent direct access to files and folders in asp.net?

前端 未结 4 1451

I have deployed a web application on IIS7 and the application has mail attachment files saved on webserver\'s Attachments folder and it\'s working fine when the

4条回答
  •  死守一世寂寞
    2020-12-12 04:38

    Managed to block XML direct access in IIS and still allowing the app to query the file with the following rule:

    
    
    
        
    
    
    

提交回复
热议问题