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"
<> 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?