renathy
renathy

Reputation: 5355

Authentication subdirectory access

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? Currently uses can log into www.testpage.net.

Upvotes: 2

Views: 139

Answers (1)

user596075
user596075

Reputation:

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>
....

Upvotes: 3

Related Questions