What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 18745 |  Welcome, Guest!   Register  Login
  Home > Community Home >

Setting Execute Permissions to "None" for the Root Directory in IIS

 Author: Mrc00035 | Posted on: 6/9/2008 3:14:34 PM | Views: 137

Recommend an Articles | Recommended Articles | Search Resources | Community Home |




I am attempting to get a relatively simple ASP.NET 2.0 intranet site up and running on IIS 6.0. One very specific security requirement I have to operate under is the execute permissions on the root directory of the site MUST be set to None. All of my .aspx, .cs, etc. files are in a \scr directory (which has "scripts only" permission) and the root directory contains a Default.htm page that redirects immediately to /scr/Default.aspx. I am having a lot of trouble making this work due to the way ASP.NET utilizes the WebResource.axd handler to get Java Script resources. Apparently scripts permissions on the root directory are required for WebResource.axd to work correctly because everything works fine when I allow scripts to run in root. When I turn off scripts on root everything breaks. I am also utilizing some .rdlc files to display reports and they are utilizing the reserved.reportViewerWebControl.axd handler which appears to work ... Go to the complete details ...

Found interesting? Add this to:



 Possibly related posts


Failt whist silently installing SQL Server 2008 R2 Express Edition sp1 on Vista Business sp2 (1)  New SQL Express 2012 Installation Failure on Win 7 (3)  New
File uploads not working in IIS7 working fine on IIS6 version (6)   Operation must use an updateable query (6)  
Manage.aspx: ProviderIncompatibleException on "new" project (8)   Permission problem? (5)  
connecting mysql in asp.net application (4)  New Create User using MultiView (0)  New
The name 'UserName' does not exist in the current context error (0)  New How best to lock down files for authorized access only (0)  New
What's the best practice to have mixed authentication (Forms and Windows) (0)   Windows and Anonymous for AJAX-Enabled WCF not working for firefox? (0)  New
HttpHandler + Medium Trust Level + GAC + PermissionSet (0)  New FindControl in WizardStep with MasterPage (0)  
asp.net iis server hosting (0)  New news aggregation development (0)  New
how to get last id in textbox (0)  New " from Javascript alert, consider end tag from start tag " from Javascript alert, consider end tag from start tag
About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/23/2013 1:58:55 AM