how to execute a dos command through C# ASP.net without using Proc

G

Guest

I want to execute a .exe file through my ASP.Net C# .Net framework 1.1
application with user "X" credential. i used impersonationContext ( see notes
at http://support.microsoft.com/?id=306158#4) to accomblish this. I pretty
sure that this concept of imperonation works.

Since Process.Start always uses the security context of the parent ASP.NET
process(which is domainName\ASPNET), my impersonation is no use with Process.

Do anbody know how to execute a .exe file without using Process (Diagnostics).
with the current thread impersonated user?

Thanks
Avasi
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top