Re: About Web.config
From: Curt_C [MVP] (software_AT_darkfalz.com)
Date: 08/26/04
- Next message: Matt Yaeger: "Re: Issues with Server.ScriptTimeout (and HttpContext.Current.Server.ScriptTimeout)"
- Previous message: Greg Webb: "1.0 vs 1.1 vs 2.0"
- In reply to: Wang Jie: "About Web.config"
- Next in thread: Wang Jie: "Re: About Web.config"
- Reply: Wang Jie: "Re: About Web.config"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 26 Aug 2004 08:10:27 -0500
look at the <location> tag for the web.config. You can set things like
security on a per file, and I believe per folder, basis there.
-- Curt Christianson Owner/Lead Developer, DF-Software Site: http://www.Darkfalz.com Blog: http://blog.Darkfalz.com "Wang Jie" <midnightfrank@THIS_SHOULD_BE_HOTMAIL_DOT_COM.NoSpam> wrote in message news:EDFE7343-0FFE-4FF0-A96E-1BD53F892CD7@microsoft.com... > Hi. > > I have a web app that uses Forms auth in root Web.config, users must login > to access asp.net resources. Now, I want one of the sub directory can be > accessed anonymously. I found that if I just put a web.config which sets > <authentication mode="None" /> in that sub dir will cause a Configuration > Error ( It is an error to use a section registered as > allowDefinition='MachineToApplication' beyond application level. This > error > can be caused by a virtual directory not being configured as an > application > in IIS.), but I have no idea how to deal with it. > > Anybody can help me out? > > Thanks!
- Next message: Matt Yaeger: "Re: Issues with Server.ScriptTimeout (and HttpContext.Current.Server.ScriptTimeout)"
- Previous message: Greg Webb: "1.0 vs 1.1 vs 2.0"
- In reply to: Wang Jie: "About Web.config"
- Next in thread: Wang Jie: "Re: About Web.config"
- Reply: Wang Jie: "Re: About Web.config"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|