Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > ASPX IMPERSONATE PROCESS

Reply
Thread Tools

ASPX IMPERSONATE PROCESS

 
 
mazda_88
Guest
Posts: n/a
 
      04-28-2004
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,
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
impersonate web service process account - ASPNET esource ASP .Net 0 08-09-2007 08:20 PM
Running a Process with <impersonate="true"> joeted ASP .Net 2 04-21-2004 07:09 AM
check a running process, impersonate bob Sterrett ASP .Net Security 0 03-06-2004 07:13 PM
DirectoryEntry Impersonate or WindowsIdentity Impersonate? Bill Belliveau ASP .Net Security 3 01-31-2004 04:19 AM
How to impersonate the child process of an ASP.NET application Aadil Abbas ASP .Net Security 0 07-29-2003 06:29 PM



Advertisments