ASPX IMPERSONATE PROCESS

Discussion in 'ASP .Net Security' started by mazda_88, Apr 29, 2004.

  1. mazda_88

    mazda_88 Guest

    I have an aspx page that creates a process that executes robocopy.
    Robocopy basically compares files located on two separate servers.
    When I set it up so that robocopy compares files located locally
    everything works fine. I setup impersonation and when robocopy
    compares files running on separate folders I get access denied. In
    order to ensure impersonation was setup correct, I created a test page
    to copy files from one computer to another. The test worked, so I
    know impersonate was setup correctly.

    It appears that when a separate process is created the identity of the
    user is not the impersonated user. Instead the user is ASPNET. Can
    the created process run under the impersonated user?

    Besides the following, is there another method of getting this to
    work.

    1. Give ASPNET access to the resource
    2. Run robocopy inside a batch file and use "use net"
    3. Recreate the logic in robocopy.

    Thanks,
     
    mazda_88, Apr 29, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. joeted
    Replies:
    2
    Views:
    3,431
    joeted
    Apr 21, 2004
  2. esource
    Replies:
    0
    Views:
    565
    esource
    Aug 9, 2007
  3. Aadil Abbas
    Replies:
    0
    Views:
    226
    Aadil Abbas
    Jul 29, 2003
  4. Bill Belliveau

    DirectoryEntry Impersonate or WindowsIdentity Impersonate?

    Bill Belliveau, Jan 28, 2004, in forum: ASP .Net Security
    Replies:
    3
    Views:
    348
    Joe Kaplan \(MVP - ADSI\)
    Jan 31, 2004
  5. bob Sterrett

    check a running process, impersonate

    bob Sterrett, Mar 6, 2004, in forum: ASP .Net Security
    Replies:
    0
    Views:
    128
    bob Sterrett
    Mar 6, 2004
Loading...

Share This Page