Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > how to by-pass forms authentication in a subfolder

Reply
Thread Tools

how to by-pass forms authentication in a subfolder

 
 
Zeng
Guest
Posts: n/a
 
      11-24-2003
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...



 
Reply With Quote
 
 
 
 
Paul Glavich
Guest
Posts: n/a
 
      11-25-2003
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" <> wrote in message
news:...
> 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...
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Forms Authentication in a subfolder Brett Robichaud ASP .Net Security 2 04-10-2004 03:58 PM
Forms authentication in a subfolder problem, please help Kris van der Mast ASP .Net 3 11-04-2003 02:27 AM
Forms authentication in a subfolder problem, please help Kris van der Mast ASP .Net Security 3 11-04-2003 02:27 AM
Re: Forms authentication for subfolder yields 404 joe ASP .Net 0 07-17-2003 02:00 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57