Re: FormsAuthentication

From: Matjaz Ladava (matjaz_at__nospam_ladava.com)
Date: 05/26/03


Date: Mon, 26 May 2003 14:46:16 +0200


Different folders can have different web.config, which can have different
authorization section. Example would be, that you place your registration
site in different directory, which contains web.config in which you have
authorization section with allow users = "*" (all users)
authorization section is order sensitive and built from top directory down
to machine.config, so that entry in your folder will take precedence and
allow all users to access it.

Regards

Matjaz Ladava

<ooo> wrote in message news:%23$hUZH4IDHA.2764@tk2msftngp13.phx.gbl...
> Is it possible to have a user redirected to a page (login.aspx) for
certain
> page access?
>
> i.e. for my registration page I wish them not to be redirected to the
login
> page, but for every other page they access if they are not authenticated
> then they are redirected?
>
> Cheers
>
> e
>
>



Relevant Pages

  • Re: FormsAuthentication
    ... there anything special i need to do when having multiple web.config files ... > Different folders can have different web.config, ... > authorization section is order sensitive and built from top directory down ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: FormsAuthentication
    ... > Different folders can have different web.config, ... > authorization section is order sensitive and built from top directory down ... > Matjaz Ladava ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: FormsAuthentication
    ... This will allow everyone to access the registration page regardless if they ... >> Different folders can have different web.config, ... >> authorization section is order sensitive and built from top directory ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Checking IsAuthenticated for new ASP.NET session
    ... again...my issue is that I do not want to redirect a user to the login ... force authentication by denying authorization to index.aspx for all ... lets say you are an admin user and this is your ... but all the pages now have 5 javascript menus. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: web.config roles
    ... what i have tried is to use a role based authorization. ... FormsAuthentication login page. ... string encryptedTicket = FormsAuthentication.Encrypt; ... // Create a cookie and add the encrypted ticket as data ...
    (microsoft.public.dotnet.framework.aspnet)