exclude a page from forms authentication

Discussion in 'ASP .Net Security' started by SteveR, Apr 18, 2005.

  1. SteveR

    SteveR Guest

    Is it possible to exclude a web page from forms authentication?
    --
    Steve
     
    SteveR, Apr 18, 2005
    #1
    1. Advertising

  2. SteveR

    Brock Allen Guest

    You can use the location element in web.config:

    <configuration>
    <location path="Foo.aspx">
    <system.web>
    <authorization>
    <allow users="*"/>
    </authorization>
    </system.web>
    </location>
    </configuration>

    This will not require autentication on Foo.aspx because we allow any user
    via users="*"

    -Brock
    DevelopMentor
    http://staff.develop.com/ballen



    > Is it possible to exclude a web page from forms authentication?
    >
     
    Brock Allen, Apr 18, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Peter
    Replies:
    2
    Views:
    5,812
    Steve C. Orr, MCSD
    Aug 20, 2003
  2. Eric
    Replies:
    2
    Views:
    1,496
    Tommy
    Feb 13, 2004
  3. Hardy Wang
    Replies:
    1
    Views:
    489
    Teemu Keiski
    May 25, 2004
  4. =?Utf-8?B?RE9UTkVUR1VZ?=

    Forms Authentication + Web form exclude

    =?Utf-8?B?RE9UTkVUR1VZ?=, Aug 15, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    1,405
    billrob458
    Aug 15, 2005
  5. Eric
    Replies:
    2
    Views:
    555
Loading...

Share This Page