Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   how to config the web.config to specify the folder i want form aut (http://www.velocityreviews.com/forums/t102837-how-to-config-the-web-config-to-specify-the-folder-i-want-form-aut.html)

=?Utf-8?B?bGVueWFkbw==?= 05-18-2005 04:21 AM

how to config the web.config to specify the folder i want form aut
 
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?

Scott Allen 05-18-2005 01:38 PM

Re: how to config the web.config to specify the folder i want form aut
 
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"
<lenyado@discussions.microsoft.com> 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?



=?Utf-8?B?bGVueWFkbw==?= 05-20-2005 09:55 AM

RE: how to config the web.config to specify the folder i want form aut
 
Thanks! that's of great help! Thanks so much! :D


All times are GMT. The time now is 11:09 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.