Simpler question

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


Date: Thu, 21 Aug 2003 11:28:10 -0700


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: 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: 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)
  • Re: Web.config file
    ... > You can use a element to set up different authentication for each> folder. ... >> In the root I don't want to have redirect to login page if i try to access>> any file in the root. ... >> Programming ASP.NET with VB.NET>> Thank's ...
    (microsoft.public.dotnet.languages.vb)