Link to home
Start Free TrialLog in
Avatar of hamlin11
hamlin11

asked on

Windows Server 2003 - PHP - Impersonation - What is it and do I need it?

I have a console-based VB.NET program which I am invoking from PHP. However, I believe that because it is being run under the IUSR account, it is only running at about 50% the speed as if it were run from the server's command line.

I've heard that impersonation might be used to run the app, from php, as if it were a user with "higher" access to the CPU.

Is this what I need? If so, how do I do it with PHP?

Thanks
Avatar of Xyptilon2
Xyptilon2
Flag of China image

I believe using impersonation only changes the security context in which the PHP scripts are run. Which is useful in virtual host situations. Not modify the priority of the process.

An interesting thing is to check whether you have the same delay with an exe file that does absolutely nothing. Just launch. From there you can determine the time that is required for that.
Avatar of hamlin11
hamlin11

ASKER

I'd like to run the scripts as a customized user rather than window's IUSR -- is there some way to do this?
ASKER CERTIFIED SOLUTION
Avatar of Xyptilon2
Xyptilon2
Flag of China image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for the links - I'll review these tomorrow. Much appreciated.