Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > authentication mode for specific files?

Reply
Thread Tools

authentication mode for specific files?

 
 
Jeremy Chapman
Guest
Posts: n/a
 
      06-15-2006
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>


 
Reply With Quote
 
 
 
 
Dominick Baier [DevelopMentor]
Guest
Posts: n/a
 
      06-15-2006
<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



 
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
mmm-mode, python-mode and doctest-mode? Edward Loper Python 0 08-09-2007 05:40 AM
re: mmm-mode, python-mode and doctest-mode? John J Lee Python 0 08-07-2007 07:49 PM
re: mmm-mode, python-mode and doctest-mode? Edward Loper Python 0 08-07-2007 08:58 AM
mmm-mode, python-mode and doctest-mode? John J Lee Python 3 12-01-2005 08:35 PM
Safe Mode (?) - It is meant to be normal mode but looks like safe mode English Patient Computer Support 3 10-03-2004 11:10 PM



Advertisments