Home > DeveloperSection > Forums > Authentication subdirectory access
Jeet Verma
Jeet Verma

Total Post:110

Posted on    August-25-2014 1:22 AM

 ASP.Net ASP.Net 

 1 Reply(s)
 834  View(s)
Rate this:

How to restrict directory level access to only authenticated users?

I need www.testpage.net/help to be accessible only for authenticated users + help folder contains only pure html files.

Can I do this?

Sumit Kesarwani

Total Post:378

Posted on    August-25-2014 2:21 AM

Hi Jeet, 

You can have a web.config file with the access list defined there. So, in other words, in your Help directory, have a web.config file that contains something like:


        <deny users="?" />


Don't want to miss updates? Please click the below button!

Follow MindStick