how to config the web.config to specify the folder i want form aut

Discussion in 'ASP .Net' started by =?Utf-8?B?bGVueWFkbw==?=, May 18, 2005.

  1. i want to use the forms authentication for the folder in virtual folder
    "admin/" but i don't know how to config the web.config. once i turn on
    authentication mode to "Forms", all files will need authenticate, which is
    not what i want. anyone can help?
     
    =?Utf-8?B?bGVueWFkbw==?=, May 18, 2005
    #1
    1. Advertising

  2. =?Utf-8?B?bGVueWFkbw==?=

    Scott Allen Guest

    You can control which files need authentication with the
    <authorization> section of web.config. Allow access to the anonymous
    users (<allow users="?"/>) and only deny anonymous users in the admin
    area.

    See:
    HOW TO: Control Authorization Permissions in an ASP.NET Application
    http://support.microsoft.com/default.aspx?scid=kb;en-us;316871

    HTH,

    --
    Scott
    http://www.OdeToCode.com/blogs/scott/

    On Tue, 17 May 2005 21:21:02 -0700, "lenyado"
    <> wrote:

    >i want to use the forms authentication for the folder in virtual folder
    >"admin/" but i don't know how to config the web.config. once i turn on
    >authentication mode to "Forms", all files will need authenticate, which is
    >not what i want. anyone can help?
     
    Scott Allen, May 18, 2005
    #2
    1. Advertising

  3. Thanks! that's of great help! Thanks so much! :D
     
    =?Utf-8?B?bGVueWFkbw==?=, May 20, 2005
    #3
    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. Bryan Ax

    web page Save Dialog specify folder?

    Bryan Ax, May 26, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    426
    Bryan Ax
    May 26, 2005
  2. thomas
    Replies:
    3
    Views:
    729
    thomas
    Oct 12, 2006
  3. Scott Ballard
    Replies:
    0
    Views:
    758
    Scott Ballard
    May 18, 2011
  4. Scott Ballard
    Replies:
    0
    Views:
    765
    Scott Ballard
    May 20, 2011
  5. Replies:
    1
    Views:
    103
    Chris Angelico
    Jul 24, 2013
Loading...

Share This Page