location path in Web.config

  • Thread starter Patrick Olurotimi Ige
  • Start date
P

Patrick Olurotimi Ige

Using this location path below it relates only to the ADMINSITE
folder/Directory only.
Which allows only Admin Groups to the "AdminSite" directory.

But if i try using ADMIN\AdminSite in the local path below it seems not
to work

Where ADMINSITE folder is under ADMIN

Does <location path="ADMIN\AdminSite"> work?


<location path="AdminSite">
<system.web>
<customErrors mode="Off" />
<authorization>
<allow roles="Admin">
<deny users="*" />
</authorization>
</system.web>
</location>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top