Re: authentication mode for specific files?
- From: Dominick Baier [DevelopMentor] <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 15 Jun 2006 05:35:04 +0000 (UTC)
<location path="specialFile.aspx">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
I'm my web application, I've specified to use forms authentication in
the web config. In my signin page, I have an img tag to an image in
my web applications virtual directory. Because the user is not signed
in yet, the image url is not available, is there any way in the web
config file to specify specific files that do not require
authentication?
<authentication mode="Forms">
<forms name=".ASPXeScript.Admin" loginUrl="signin.aspx"
protection="All"
timeout="30" path="/" defaultUrl="default.aspx">
<!-- protection="[All|None|Encryption|Validation]" -->
</forms>
</authentication>
<authorization>
<deny users="?"/>
</authorization>
.
- References:
- authentication mode for specific files?
- From: Jeremy Chapman
- authentication mode for specific files?
- Prev by Date: authentication mode for specific files?
- Next by Date: RE: membership and redirect of unauthenticated requests
- Previous by thread: authentication mode for specific files?
- Next by thread: RE: membership and redirect of unauthenticated requests
- Index(es):
Relevant Pages
|