Solved

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

Posted on 2008-10-25
4
632 Views
Last Modified: 2013-12-13
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
0
Comment
Question by:hamlin11
  • 2
  • 2
4 Comments
 
LVL 13

Expert Comment

by:Xyptilon2
ID: 22806253
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.
0
 

Author Comment

by:hamlin11
ID: 22809579
I'd like to run the scripts as a customized user rather than window's IUSR -- is there some way to do this?
0
 
LVL 13

Accepted Solution

by:
Xyptilon2 earned 500 total points
ID: 22809737
Read this: http://forums.iis.net/p/1042650/1455327.aspx i think it is relevant to your situation. Perhaps this also: http://forums.webhostautomation.com/showthread.php?t=5355

Personally I'm running everything on Linux servers, so i cannot test for you, but goodluck!
0
 

Author Comment

by:hamlin11
ID: 22809754
Thanks for the links - I'll review these tomorrow. Much appreciated.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now