Hi all,
I am working on a personal project and i am wanting to protect static files in a certain directory.
Here is the basis of my project:
- VS 2010
- ADMembership provider
- AD Role manager provider (from codeproject)
- Server 2008 R2 with URL Authorization installed.
Basically here is what is happening, everything works fine if i omit the following from the web.config:
<system.webServer>
<modules>
<remove name="FormsAuthenticationModule" />
<add name="FormsAuthenticationModule" type="System.Web.Security.FormsAuthenticationModule" />
<remove name="UrlAuthorization" />
<add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule" />
<remove name="D ...
Go to the complete details ...