Re: Accessing files on another server securely

From: Willy Denoyette [MVP] (willy.denoyette@pandora.be)
Date: 10/29/02


From: "Willy Denoyette [MVP]" <willy.denoyette@pandora.be>
Date: Tue, 29 Oct 2002 12:15:06 +0100


This can only be done when running in a W2K real with delegation of credentials setup correctly.

Willy.

"Peter Seow" <peter.seow@vidtools.com> wrote in message news:20b101c27c15$fe6f9c40$3bef2ecf@TKMSFTNGXA10...
> Hi,
>
> Sorry if this problem has been posted before. Appreciate
> your help.
>
> I have a webservice which needs to read a file from
> another server. Because of the requirements of the
> project, the file can only be read if the user logged in
> has permission to it. I have set the web.config
> impersonation to true. When I run the webservice on the
> server where the file is located, it works. However,
> when I run the webservice on another server to access the
> file, it does not work. I have read somewhere about the
> one-hop rule where the user's logged-in identity is not
> recognised when it needs to access a resource on another
> server.
>
> I have tried using LogonUser with a user account on the
> domain and it works. However, I would like to access the
> file based on the logged-in user's identity. How can this
> be done?
>
> Thanks. Appreciate your answers.
>
> regards,
> Peter



Relevant Pages

  • Accessing files on another server securely
    ... I have a webservice which needs to read a file from ... server where the file is located, ... one-hop rule where the user's logged-in identity is not ... file based on the logged-in user's identity. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Permission Errors
    ... that means the webservice will running under the impersonate idenitity. ... a domain account so that it can be validated on the win2k server machine. ... |>webservice failed with permission error when perform the file accessing ...
    (microsoft.public.dotnet.general)
  • RE: 404 Not Found
    ... Can a config file possibly tell it not to look in hte GAC? ... what's the current trustLevel of your ASP.NET webservice on the server ... >> whether it is client side related..... ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Howto: WebService in not Bin folder?
    ... Since you have developed your own web server and your own web service ... I'd choose WebService technology for my solution. ... asmx-file instead mine assemply. ... For one i must use or tags in my .config file. ...
    (microsoft.public.dotnet.framework.webservices)
  • RE: accessing WebService from asp.net App on load balanced Servers
    ... he found that this worked only when the webservice is on the same ... they have not network credentials. ... same server with the asp.net web app.... ... | I have an ASP.Net application that retrieves Data from a Web Service. ...
    (microsoft.public.dotnet.framework.aspnet.security)