Forms Security

Results 1 to 3 of 3

Thread: Forms Security

  1. #1
    Join Date
    Dec 1969

    Default Forms Security

    I&#039;m attempting to use forms security with this in my web.config file:<BR>&#060;authentication mode="Forms"&#062;<BR> &#060;forms loginUrl="Login.aspx" name=".ASPXAUTH"/&#062;<BR> &#060;/authentication&#062;<BR><BR>I thought that if someone hit a page in the application without going to login.aspx first, it would route them to login.aspx, but it doesnt seem to be working this way -- you can hit any page without logging in to login.aspx first -- is there something I&#039;m missing here<BR><BR>Thanks<BR><BR>Pete

  2. #2
    Join Date
    Dec 1969

    Default RE: Forms Security

    It is supposed to work that way. I had a problem with it not working correctly, which is outlined in this msdn article.;en-us;313116<BR><BR>Good luck.<BR>Sara

  3. #3
    Join Date
    Dec 1969

    Default And the key line in all that...

    Is this one:<BR>&#060;deny users="?" /&#062;<BR><BR>You can set forms authentication all day, but if you aren&#039;t denying access for anyone, to any page, why would it ever redirect to the login page?<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts