authenticate except one page

Discussion in 'ASP .Net Security' started by bg, May 3, 2005.

  1. bg

    bg Guest

    i use form based authenticatiýon. But in my project only one file must use
    anonymous access.

    how can i do that?

    thanks

    bg
    bg, May 3, 2005
    #1
    1. Advertising

  2. bg

    Brock Allen Guest

    You can use the <location> element in your web.config:

    <configuration>
    <location path="TheOneFile.aspx">
    <authorization>
    <allow users="*" />
    </authorization>
    </location>
    </configuration>


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



    > i use form based authenticatiýon. But in my project only one file must
    > use anonymous access.
    >
    > how can i do that?
    >
    > thanks
    >
    > bg
    >
    Brock Allen, May 3, 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. John Salerno
    Replies:
    20
    Views:
    846
    John Salerno
    Aug 11, 2006
  2. Fabio Z Tessitore

    who is simpler? try/except/else or try/except

    Fabio Z Tessitore, Aug 12, 2007, in forum: Python
    Replies:
    5
    Views:
    369
  3. David House

    try -> except -> else -> except?

    David House, Jul 6, 2009, in forum: Python
    Replies:
    2
    Views:
    334
    Bruno Desthuilliers
    Jul 6, 2009
  4. Peng Yu
    Replies:
    1
    Views:
    512
    Steven D'Aprano
    Nov 18, 2009
  5. MRAB
    Replies:
    0
    Views:
    820
Loading...

Share This Page