Retaining local file system access while impersonating to access a remote drive

From: Daniel (softwareengineer98037_at_yahoo.com)
Date: 08/19/04

  • Next message: Joe Kaplan \(MVP - ADSI\): "Re: Retaining local file system access while impersonating to access a remote drive"
    Date: Thu, 19 Aug 2004 12:26:00 -0700
    
    

    Is it possible to retain local file system read, write, delete access while
    impersonating for access to a remote drive in a different domain? I need to
    be able to move files from a local computer to a remote computer. do i have
    to copy them from the local computer to the remote computer then delete them
    fromt the local computer after undo-ing the impersonation? Or is there a way
    to retain access to both the local computer and the remote computer by while
    impersonating the use that has access to the remote computer? The File.Move
    requires read and write access to both the filesystem of the source and the
    destination because it deletes the file from the source when it is copied to
    the destination. My current solution is to impersonate, copy local to
    target, undo impersonation, delete locals. But i would like to be able to
    impesonate, move local to target, undo impersonation.


  • Next message: Joe Kaplan \(MVP - ADSI\): "Re: Retaining local file system access while impersonating to access a remote drive"

    Relevant Pages


    Loading