Re: Exclude pages from authentication!
- From: "Teemu Keiski" <joteke@xxxxxxxxxxxxxxx>
- Date: Sun, 12 Feb 2006 12:03:39 +0200
Hi,
you can do that with <location> (path can either be single page or a
directory). Note that <location> element is placed right under
<configuration> element, not under the default <system.web> in standard
web.config
<location path="publicpage.aspx">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke
"Adam J Knight" <adam.jknight@xxxxxxxxxxxxxxx> wrote in message
news:OKl20q7LGHA.3732@xxxxxxxxxxxxxxxxxxxxxxx
Hi all,
I have an app that mostly requires authentication.
However there are a couple of pages that don't require authentication..
What do i need in my web.config, to specify these pages don't require
authentication..
thus the user is not redirected to my default login url..when they
('pages') are requested.
Cheers,
Adam
.
- Follow-Ups:
- Re: Exclude pages from authentication!
- From: Adam J Knight
- Re: Exclude pages from authentication!
- References:
- Exclude pages from authentication!
- From: Adam J Knight
- Exclude pages from authentication!
- Prev by Date: Exclude pages from authentication!
- Next by Date: How to save file to linux machine via ASP.NET 2.0
- Previous by thread: Exclude pages from authentication!
- Next by thread: Re: Exclude pages from authentication!
- Index(es):
Relevant Pages
|