J
J055
Ver. VS2005
Hi
I'm using forms authentication and have set the authorization element to
deny anonymous users. This works fine except that when I view the login.aspx
page as an unauthenticated user I am denied access to non-asp files like
css, gif, jpg etc.
The only happens on the ASP.NET Development Server and not when I publish to
an IIS web server.
Can someone let me know why this happens and if there's something I can do
about it?
Thanks
Andrew
Here's the web.config file:
<system.web>
<authentication mode="Forms">
<forms name="ASPXSecurity" loginUrl="Login.aspx" protection="All" path="/"
timeout="30" />
</authentication>
<authorization>
<deny users="?" />
</authorization>
</system.web>
Hi
I'm using forms authentication and have set the authorization element to
deny anonymous users. This works fine except that when I view the login.aspx
page as an unauthenticated user I am denied access to non-asp files like
css, gif, jpg etc.
The only happens on the ASP.NET Development Server and not when I publish to
an IIS web server.
Can someone let me know why this happens and if there's something I can do
about it?
Thanks
Andrew
Here's the web.config file:
<system.web>
<authentication mode="Forms">
<forms name="ASPXSecurity" loginUrl="Login.aspx" protection="All" path="/"
timeout="30" />
</authentication>
<authorization>
<deny users="?" />
</authorization>
</system.web>