For Programmers: Free Programming Magazines  


Home > Archive > Microsoft Webservices > June 2005 > WebService needs to read file on another server









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author WebService needs to read file on another server
Binary Poet

2005-06-03, 4:01 pm

I am having a problem with a web service that needs to read a file on
another server. Is there a way to have the web service run as another user?

For example I am developing this web service on my XP Pro workstation. When
I do a : If File.Exists(UNC_PATH_TO_FILE) it fails, but if I copy the
contents of the UNC_PATH_TO_FILE into explorer on the same computer it opens
the file just fine. So I believe it has to be a security problem as to how
the web service is running



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com