AUTHENTICATION SUBDIRECTORY ACCESS

Jeet Verma

Total Post:110

Points:776
Posted by  Jeet Verma
 881  View(s)
Ratings:
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?

  1. Sumit Kesarwani

    Post:378

    Points:2694
    Re: Authentication subdirectory access

    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:

        <authorization>

            <deny users="?" />

        </authorization>

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!