I run IIS 7.5 on Windows Server 2008 R2.
I'm getting a 404: file not found error when I browse the "/bin" folder. I understand that this is a security policy by Microsoft.
I tried doing what is written in here but it didn't solve the issue. Any ideas?
EDIT:
Should be noted that I have no security issues. I run the IIS for direcotry browsing in a private network. Eventually I need to perform crawling and indexing on it. The problem is that pages under "/bin" and '/AppConfig" are not being crawled because of the 404 error.
I just need a solution for this issue. Again, no security issues are relevant here.
Bin folder is not intended as a place where a developer should put web pages.
In IIS 7.5 you can configure
The same can be done via web.config
Anyway, in orded to avoid problems on development server and on any deploy server, i think that the easiest solution is to move that pages to another folder.
Read here:
App_BrowsersContains browser definitions (.browser files) that ASP.NET uses to identify individual browsers and determine their capabilities.App_CodeContains source code for shared classes and business objectsApp_DataContains application data files including .mdf database files, XML files, and other data store files.App_GlobalResourcesContains resources (.resx and .resources files) that are compiled into assemblies with global scope.App_LocalResourcesContains resources (.resx and .resources files) that are associated with a specific page, user control, or master page in an applicationApp_ThemesContains a collection of files (.skin and .css files, as well as image files and generic resources) that define the appearance of ASP.NET Web pages and controls.App_WebReferencesContains reference contract files (.wsdl files), schemas (.xsd files), and discovery document files (.disco and .discomap files) that let you create a Web reference for use in an application.BinContains compiled assemblies (.dll files) for controls, components, or other code that you want to reference in your application.