web.config file for forms-based authentication : authentication « Configuration « ASP.NET Tutorial






<system.web>
   <authentication mode="Forms">
      <forms name="formName" loginUrl="Login.aspx" path="/" />
   </authentication>
    
   <authorization>
      <deny users="?" />
   </authorization>
</system.web>








16.6.authentication
16.6.1.Denying all users through the web.config file
16.6.2.The Node
16.6.3.Allowing a single user through the web.config file
16.6.4.Specify all users with the use of the asterisk (*)
16.6.5.To allow more than one user
16.6.6.web.config file for forms-based authentication
16.6.7.Modifying the web.config file to add username/password values