Organizational Research By

Surprising Reserch Topic

how to restrict folder access in asp net


how to restrict folder access in asp net  using -'asp.net,security'

How to restrict folder access in asp.net
like i dun want any other to see my Uploads folder in browser by link  http://www.example.com/Uploads

Please help
    

asked Oct 7, 2015 by balvant maurya
0 votes
8 views



Related Hot Questions

1 Answer

0 votes

You can do like @klausbyskov mentions, to add 's to the root web.config, like:


    
        
            
            
        
    

or you can add a web.config to the folder where you want to allow/deny access with the following content:



    
        
            
                          
        
    

Of course replace the and with you own rules

answered Oct 7, 2015 by sachin wagh

...