Forms Authentication

R

REB

I use forms authentication to require users to enter a username and password

<authentication mode="Forms">

<forms name="WebAuth" path="/" loginUrl="Login.aspx" protection="All"
timeout="90">

<credentials passwordFormat="Clear">

<user name="MeMe" password="tester$" />

<user name="YouYou" password="testerT" />

<user name="ThemThem" password="mypaSS" />

</credentials>

</forms>

</authentication>

<authorization>



Is there a way to include sub folders to be covered by this type of
security? I do not want someone to be able to enter a direct URL to a page
located in a subfolder of my website.



THanks
 
S

Scott Allen

All the sub folders will be covered by the same authentication
mechanism. The authorization settings also cover all the sub folders,
except you can override the authorization settings of the parent by
placing a new web.config file in a sub directory.

HTH,
 

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

Top