Re: About Web.config

From: Curt_C [MVP] (software_AT_darkfalz.com)
Date: 08/26/04


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! 


Relevant Pages

  • Re: About Web.config
    ... > security on a per file, and I believe per folder, basis there. ... > Curt Christianson ... >> I have a web app that uses Forms auth in root Web.config, ... I want one of the sub directory can be ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Users unable to use software
    ... the installation routine for this application doesn't "know" ... how to handle individual user profiles, ... Start Menu folder and Desktop folder shortcuts from the user profile ... but I am not sure which sub directory. ...
    (microsoft.public.windowsxp.help_and_support)
  • move directories and files that exist in a sub folder - problem
    ... I am trying to create an automated script that searches in a sub directory ... the fso). ... 'Check to see whether the my documents folder exists ...
    (microsoft.public.scripting.vbscript)
  • Re: file names
    ... fill out the window with the folder name/file name and all. ... buildings, and the parts of buildings that they belong to. ... in a directory or sub directory. ...
    (microsoft.public.excel.worksheet.functions)
  • RE: Hide inactive programs under Start?
    ... Let's take the exemple of MS Word. ... you get a number of sub directory (like New ... >Click on apply - This will hid the folder from view. ... access or modify the hidden folders properties. ...
    (microsoft.public.windowsxp.customize)