Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > how to config the web.config to specify the folder i want form aut

Reply
Thread Tools

how to config the web.config to specify the folder i want form aut

 
 
=?Utf-8?B?bGVueWFkbw==?=
Guest
Posts: n/a
 
      05-18-2005
i want to use the forms authentication for the folder in virtual folder
"admin/" but i don't know how to config the web.config. once i turn on
authentication mode to "Forms", all files will need authenticate, which is
not what i want. anyone can help?
 
Reply With Quote
 
 
 
 
Scott Allen
Guest
Posts: n/a
 
      05-18-2005
You can control which files need authentication with the
<authorization> section of web.config. Allow access to the anonymous
users (<allow users="?"/>) and only deny anonymous users in the admin
area.

See:
HOW TO: Control Authorization Permissions in an ASP.NET Application
http://support.microsoft.com/default...b;en-us;316871

HTH,

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 17 May 2005 21:21:02 -0700, "lenyado"
<(E-Mail Removed)> wrote:

>i want to use the forms authentication for the folder in virtual folder
>"admin/" but i don't know how to config the web.config. once i turn on
>authentication mode to "Forms", all files will need authenticate, which is
>not what i want. anyone can help?


 
Reply With Quote
 
 
 
 
=?Utf-8?B?bGVueWFkbw==?=
Guest
Posts: n/a
 
      05-20-2005
Thanks! that's of great help! Thanks so much!
 
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: Specify a Specific Folder for ASP.NET Debugging? Scott Ballard ASP .Net 0 05-19-2011 11:28 PM
Specify a Specific Folder for ASP.NET Debugging? Scott Ballard ASP .Net 0 05-18-2011 04:25 PM
AUt.Update Fares Computer Information 2 05-08-2008 01:43 PM
dll config and web.config and Label Expressions (binding label text to dll config settings) CSharpner ASP .Net 0 04-09-2007 09:00 PM
web page Save Dialog specify folder? Bryan Ax ASP .Net 0 05-26-2005 02:30 PM



Advertisments