Network File Access

From: Tony Amos (TonyAmos_at_discussions.microsoft.com)
Date: 06/27/05

  • Next message: Dominick Baier [DevelopMentor]: "Re: asp.net client idenification"
    Date: Mon, 27 Jun 2005 08:36:03 -0700
    
    

    I have a web service that uses a .Net FTP client to send files to vendors
    behind the scenes after it finishes processing a transaction. My problem is
    that the web service catches a file access exception to the file on the local
    network. Here are the facts:

    - Web service is set up to impersonate a windows authenticated user
    - Web service only allows Windows authentication
    - I've confirmed in code that the recognized user at run-time is the
    expected windows authenticated user
    - The user is in a windows group that does have full access to the file
    - The file is located on a network share addressed by UNC
    - Permissions on the share and the local folder allow full access to this
    group
    - In testing, I confirmed that the user can read & write the file outside of
    the web service - actually the user ran a VBScript that created the file
    before the web service took over
    - The file is not locked in any way
    - Whether I try to open the file or even run a File.Exists() method, the
    file is not accessible from within the web service.

    I will appreciate any assistance.


  • Next message: Dominick Baier [DevelopMentor]: "Re: asp.net client idenification"

    Relevant Pages

    • Re: integrated security over vpn
      ... > SQL 2000 is using Windows Authentication, and I can access tables, Stored ... >> Are you using Windows authentication with SQL Server or SQL Server ... >> easy to do on a home machine scenario as I would expect the home machine ... You could create a web service that returns and accepts the ...
      (microsoft.public.dotnet.security)
    • Re: Getting user ID from Web Service credentials
      ... Windows Authentication in IIS, when Anonymous access is turned off. ... System.Net.CredentialCache.DefaultCredentials on the client side. ... >> any way to get the user name from the Web Services code. ... >> For both the client side caller and the Web Service, ...
      (microsoft.public.dotnet.security)
    • IIS Web Service 401 Error with Integrated Windows Authentication
      ... I built a simple "Hellow World" Web Service that I ... can successfully invoke using IE (regardless of the authentication type ... I can invoke the same Web Service by another client successfully if the ... However, if the Integrated Windows Authentication is ticked, invoking the ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: Web Service invoke as NT User
      ... Public Function GetCurrentUserEmail() As String ... You want it to run as the user issuing the web service call. ... do you have the directory security set up for Windows Authentication only. ...
      (microsoft.public.dotnet.framework.webservices)
    • Getting user ID from Web Service credentials
      ... standalone client app (I use their Windows current user name to log them ... When I use a Web Service, ... to get the user name from the Web Services code. ... Integrated Windows Authentication on, and anonymous access off. ...
      (microsoft.public.dotnet.security)