Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > ntfs access denied problem

Reply
Thread Tools

ntfs access denied problem

 
 
axford
Guest
Posts: n/a
 
      09-23-2003
Hello all,

Please help me with the following intranet security
problem:
I have set my IIS security to 'Windows Integrated' and
have NTFS security for the ASPNET account correct on all
web application folders. On one subfolder I want to
restrict access to administrators, managers and system. I
try this via NTFS.

In my web.config I have:
<authentication mode="Windows" />
<identity impersonate="true" />
<authorization><allow users="*" /></authorization>
<customErrors mode="Off"></customErrors>

When I restrict the NTFS security on the subfolder to the
above mentioned groups the access denied error ("Failed
to start monitoring file changes.") occurs with stack
trace (only the end):

System.Web.HttpContext.GetCompleteConfigRecord(Str ing
reqpath, IHttpMapPath configmap) +434
System.Web.HttpContext.GetCompleteConfig() +49
System.Web.HttpContext.GetConfig(String name) +195
System.Web.CustomErrors.GetSettings(HttpContext context,
Boolean canThrow) +20
System.Web.HttpResponse.ReportRuntimeError(Excepti on e,
Boolean canThrow) +40

This seems to indicate an error while parsing the config
file. However when I add 'everyone:Read and Execute'
access to the specified subfolder everything works
perfect. So it must be a security problem. Of course I am
using an account that belongs to one of the above
mentioned groups!

Also strange is that access denied refers
to 'c:\inetpub\wwwroot\MyApp\SpecialSubfolder\web.con fig'
while the only web.config I know of
is 'c:\inetpub\wwwroot\MyApp\web.config'.

I read several KB articles, but none of them looks
related to the specific stack trace above.

Can anybody solve this issue?

thx.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Very annoying error: Access to the path is denied. ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity Jay ASP .Net 2 08-20-2007 07:38 PM
403 Forbidden: You were denied access because: Access denied by access control list Southern Kiwi NZ Computing 6 03-19-2006 05:19 AM
Access Denied to access db with asp.net Ros@ ASP .Net 3 02-22-2006 04:51 PM
Creating a batch to determine if HD is NTFS if not format it NTFS Tech Computer Support 3 04-06-2004 06:19 PM
access denied by access control list Hung Computer Support 8 10-12-2003 05:27 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57