Home All Groups Group Topic Archive Search About

Copy files from network share to WEB Server local directory

Author
7 Mar 2006 3:26 PM
Metro
Hi,
I am running ASP .NET application on IIS 6.0. My WEB Site has to supply PDF
files for viewing within the Browser. PDF files are stored on the local
network file server.
I need to copy PDF file from file server to WEB Server's local drive to make
it available to ASP. Obviously IIS local account doesn't have access to local
network.
Could you please advice the most secure way of copying files.

Author
7 Mar 2006 8:18 PM
Tom Kaminski [MVP]
"Metro" <Me***@discussions.microsoft.com> wrote in message
news:D6591861-AC89-49D5-943F-CAD9B137A05D@microsoft.com...
> Hi,
> I am running ASP .NET application on IIS 6.0. My WEB Site has to supply
> PDF
> files for viewing within the Browser. PDF files are stored on the local
> network file server.
> I need to copy PDF file from file server to WEB Server's local drive to
> make
> it available to ASP. Obviously IIS local account doesn't have access to
> local
> network.
> Could you please advice the most secure way of copying files.

Set the app pool (or create a new one for this app) to run under a domain
user account that has access to the network share.