?
Solved

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

Posted on 2008-10-25
4
Medium Priority
?
650 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
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.
Suggested Courses

718 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