Solved

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

Posted on 2008-10-25
4
637 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
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 create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

685 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