Why can I still access my ASP.NET pages even though I disabled anonymous access to my directory?

After disabling anonymous access in the permission manager in the control panel, ASP.net pages are still accessible without getting prompted with authentication. 

In order to force ASP.net to take NTFS permission into consideration, the authentication mode in the web.config file must be set to Windows.

Was this answer helpful?

 Print this Article

Also Read

I get an error "Access denied to 'D:\public_html\xxx\xxx\web.config'. Failed to start monitoring file changes" when I try to open an ASP.net page. What can I do?

This error usually means that the ASPNet user does not have adequate permission to access the...

How do I setup custom error for my ASP.net application?

ASP.net has its own built-in error handling. To set up custom error handling for your ASP.net...

Disable Web Config inheritance for Virtual Application

If you have a lot of virtual applications under your webisteYou can Disable the main website's...

How do I get my ASP.net application to display non-English language

...

In one of the applications I want to host, there must be a write privilage to ASPNET account so that it will be able to create folders, so is that possible ?

Yes, that is possible. In fact you can set the read and write permission yourself. Our control...