Re: Simpler question

From: Francis Shanahan (fs_at_NoSpamTodayThanks.francisshanahan.com)
Date: 08/22/03


Date: Thu, 21 Aug 2003 22:17:41 -0400


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
>



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: Page and Images not found on Localhost
    ... I didn't know that even images could be declared as server controls. ... which may not have been declared as a server control. ... I designated the "project" folder as an application in IIS. ... is the root for anything under it. ...
    (microsoft.public.dotnet.framework.aspnet)
  • 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: Virtual Directory, Paths, Local and Deployed Problem
    ... If you are looking to get to the /images folder from the root. ... In production: http://www.site1.com/images/mygif.gif ... make this a virtual folder in IIS. ...
    (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)