Forms Authentication

  • Thread starter Thread starter REB
  • Start date Start date
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
 
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,
 
Back
Top