Re: access denied in an asp.net 2.0 application when accessing a d
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Fri, 10 Mar 2006 03:05:01 GMT
Thanks for the response Eric,
I think it should be OK. Since you're using IIS6, if the ASP.NET
application virtual dir is configured to use the Default Application Pool
and your ASP.NET dosn't use impersonate, it should be the NT
AUTHORITY\NETWORK SERVICE account. Anyway, you can use the below code to
printout the security identity of the current running thread:
Response.Write("<br/>" +
System.Security.Principal.WindowsIdentity.GetCurrent().Name);
BTW, as for the "Network Service" account you mentioned when configure the
UNC share's permission, are you sure you are refering to the ASP.NET
server's Network Service account( rather than the UNC share machine's
Network Service account)? Network Service just represent machine's account
so it differs from machine to machine.
In addition, you can turn on the File access Audit for that UNC folder on
that machine, this can help capture the Access failture log.
3How To Audit User Access of Files, Folders, and Printers in Windows XP
http://support.microsoft.com/kb/310399/en-us
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
.
- References:
- Re: access denied in an asp.net 2.0 application when accessing a direc
- From: Michael Hamrah
- Re: access denied in an asp.net 2.0 application when accessing a direc
- From: Steven Cheng[MSFT]
- Re: access denied in an asp.net 2.0 application when accessing a direc
- Prev by Date: Path Name
- Next by Date: RE: Editable DataGrid with DropDownList Question
- Previous by thread: Re: access denied in an asp.net 2.0 application when accessing a direc
- Next by thread: Re: access denied in an asp.net 2.0 application when accessing a d
- Index(es):
Relevant Pages
|