Authentication subdirectory access

Total Post:110

Points:776

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

      Modified On Apr-04-2018 07:01:13 AM

Answer

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.