Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: Web app that copies files within a domain


Message #1 by phillipstodd@y... on Thu, 7 Feb 2002 02:59:46
I am creating an asp.net app that involves coping from one 
share on the domain to another.  I am using the 
DirectoryInfo and FileInfo classes and it works fine 
locally but not across the domain.  I'm using IIS with 
WinXP pro and only integrated or digest authentication.  
I thought this would authenticate the user through the 
browser and allow access to network shares with domain 
credentials. The error I am getting is:

The ASP.NET process is not authorized to access the 
requested resource. For security reasons the default 
ASP.NET process identity is '{machinename}\ASPNET', which 
has limited privileges. Consider granting access rights 
to the resource to the ASP.NET process identity. 

I would prefer not to grant rights on every machine to 
the local '{machinename}\ASPNET'.
How can I allow the app to run under the domain 
credentials of the browsing user?

Thanks

  Return to Index