Re: how to by-pass forms authentication in a subfolder

From: Paul Glavich (glav_at_aspalliance.com-NOSPAM)
Date: 11/25/03


Date: Tue, 25 Nov 2003 22:15:57 +1100

Use the <location> element in the web.config to specify something like :-
<location path="/testing/check.aspx">
   <system.web>
       <authentication mode="None" />
   </system.web>
</location>

--
- Paul Glavich
"Zeng" <zzy@nonospam.com> wrote in message
news:OBeyZmqsDHA.2508@TK2MSFTNGP12.phx.gbl...
> Hello,
>
> I have an application with forms authentication setting specified in the
> web.config of the app root; so all users must login before they can access
> any page within the app. Is there a way to have a subfolder with a page
that
> within the app that doesn't require user to login ?
>
> For example, I would like to have this page
www.myapp.com/testing/check.aspx
> within "testing" folder to open to public w/o request users to login, if
it
> has to be the whole folder "testing" must be open to public, that would be
> fine - but just that folder.
>
> Thank you very much in advance for your help...
>
>
>


Relevant Pages

  • Some help required: Different flavour of logon via FormsAuthentication?
    ... I've been doing some asp.net coding, and I've created an app ... Broker (top level app folder, contains web.config, deny all unauth ... and that will force anyone to login if they try to go to Broker or CP, ... authentication details in a cookie, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Login security for a form
    ... not a fully qualified url. ... > the protected form in a folder named Admin. ... > If I specify an invalid login combination, ...
    (microsoft.public.dotnet.framework.aspnet)
  • how to by-pass forms authentication in a subfolder
    ... so all users must login before they can access ... any page within the app. ... within "testing" folder to open to public w/o request users to login, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Login security for a form
    ... I have a form that will prompt for a user name/password. ... the protected form in a folder named Admin. ... If I specify an invalid login combination, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Login security for a form
    ... It seems that the Redirect is working fine, but it is redirecting back to ... the login page even though the url does not contain LoginPage.aspx. ... contains the url to the aspx page that is in the protected folder. ... If I specify a good combination, ...
    (microsoft.public.dotnet.framework.aspnet)