Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > authenticate except one page

Reply
Thread Tools

authenticate except one page

 
 
bg
Guest
Posts: n/a
 
      05-03-2005
i use form based authenticatiżon. But in my project only one file must use
anonymous access.

how can i do that?

thanks

bg


 
Reply With Quote
 
 
 
 
Brock Allen
Guest
Posts: n/a
 
      05-03-2005
You can use the <location> element in your web.config:

<configuration>
<location path="TheOneFile.aspx">
<authorization>
<allow users="*" />
</authorization>
</location>
</configuration>


-Brock
DevelopMentor
http://staff.develop.com/ballen



> i use form based authenticatiżon. But in my project only one file must
> use anonymous access.
>
> how can i do that?
>
> thanks
>
> bg
>




 
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: What is the difference between 'except IOError as e:' and 'except MRAB Python 0 11-18-2009 02:52 AM
What is the difference between 'except IOError as e:' and 'except Peng Yu Python 1 11-18-2009 02:38 AM
try -> except -> else -> except? David House Python 2 07-06-2009 05:48 PM
who is simpler? try/except/else or try/except Fabio Z Tessitore Python 5 08-13-2007 12:52 AM
converting a nested try/except statement into try/except/else John Salerno Python 20 08-11-2006 02:48 PM



Advertisments