Re: Simpler question

From: Avonelle Lovhaug (alovhaug_at_yahoo.com)
Date: 08/22/03

  • Next message: Francis Shanahan: "Re: Simpler question"
    Date: Thu, 21 Aug 2003 19:46:38 -0700
    
    

    Yeah, that sounds like it would work, doesn't it?
    Unfortunately, from what I have read it is not possible to
    have an authentication section in that sub-folder's
    web.config. Not all sections are allowed in web.config
    files located in sub-folders. My experimentation bears
    this out also.

    Thanks for the response, though!

    --Avonelle

    >-----Original Message-----
    >I'm not a doctor :) but I do recall reading you can have
    a web.config in
    >each folder and hence it would make sense that you can
    have another
    >authorization & authentication section in that sub
    folder's web.config.
    >
    >-fs
    >
    >"Avonelle Lovhaug" <alovhaug@yahoo.com> wrote in message
    >news:09db01c36811$f94d47b0$a001280a@phx.gbl...
    >> Alright - here's a simpler part of my previous
    questions.
    >> If I have an application that uses forms authentication,
    >> is it possible to have one Login.aspx file for the root
    >> application, and a separate Login.aspx file for a folder
    >> within the root application, only to be used when
    someone
    >> tries to reference that folder?
    >>
    >> From what I can tell, I will have to use the same
    >> authentication cookie for both folders, and utilize some
    >> kind of role based security to identify who can access
    the
    >> root and who can access the folder (in my case, it will
    >> likely be one or the other but not both). Right?
    >>
    >> Thanks,
    >>
    >> --Avonelle
    >>
    >
    >
    >.
    >


  • Next message: Francis Shanahan: "Re: Simpler question"

    Relevant Pages

    • Re: Forms Authentication - Cookie not being generated...
      ... You should have only ONE web.config (root folder) with all these entries. ... access with Forms authentication so your login page (and all protected ... Check out the authorization configuration in both the root and ClientCenter ... I am not redirected to the login page. ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: Error loading class when developing web pages under folders
      ... >> The reason why I add Web.config to that folder is because I want the ... I could be wrong, but I believe the reason you're getting ... IIS is because you're trying to specify authentication again in your second ... the root directory, as it pertains to the whole application. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Multi Level Forms Authentication Help DESPERATELY NEEDED!
      ... Forms authentication supports this functionality. ... You can have a web.config in each folder that specifies who's allowed in. ... > to access certain files on the web site to an ASP .NET Forms ... > while still managing access to the aforementioned subdirectories. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Web.config file
      ... i know it is possible to have this securing different folders in different ... > I have an application that I want to setup for each folder a web.config ... > with different authentication, but when I try to do that it gives me an ... > In the root I don't want to have redirect to login page if i try to access ...
      (microsoft.public.dotnet.languages.vb)
    • Re: Web.config file
      ... i know it is possible to have this securing different folders in different ... > I have an application that I want to setup for each folder a web.config ... > with different authentication, but when I try to do that it gives me an ... > In the root I don't want to have redirect to login page if i try to access ...
      (microsoft.public.dotnet.framework.aspnet)