Geeks With Blogs
Andrew Siemer's Blog Enterprise Web Applications, ASP.NET MVC, C#, SQL Server, Architecture, & Writing
An issue came up today where we were wondering how to put a non-secured page in a secured web site using forms authentication. After a bit of research, I found that you can add this short snipet of code to your web config...and you have it - an annonymously accessible page in a secure site.

...
<authorization>
<deny users="?"/>
</authorization>
</system.web>

<location path="enviaSMS.asmx">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
Posted on Friday, October 26, 2007 9:30 AM ASP.NET , C# | Back to top


Comments on this post: Annonymous access to a page in a forms authenticated web site

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Andrew Siemer - www.andrewsiemer.com | Powered by: GeeksWithBlogs.net