Help with Windows Server, IIS, PHP and (file, user and process) permissions
Help with Windows Server, IIS, PHP and (file, user and process) permissions
Hi,
So I'm doing a volunteer project and I've come across a stumble.
Background:
- PHP website hosted on Server 2008 R2 (IIS 7)
- Website launches a server side program that I wrote
- The program (written in c) edits an XML file
- XML value has one value in it (whatever thats called in xml), i change it to a 0 for 30seconds, then change it back to 1
Whats working:
- PHP page launches program (see it in task manager for 30 seconds)
- program edits files when run as user (Administrator)
Problem:
- I have discovered that when the php page starts the program, it runs it almost in a sandbox per say.
- I was reading and discovered that Windows Server 2008 R2's security stops some services / programs run by services from accessing stuff
Solution:
I need the get the program of mine when launched by the php page edit the file...
- I am no ways a system admin or anything
- Kinda figured out how Process Monitor/explorer by SystemInternals works
End goal:
- User clicks the link, web page loads, starts the server side program, program does its thing, web page closes itself.
Thanks a billion everyone for your help.
-thelastaspec
So I'm doing a volunteer project and I've come across a stumble.
Background:
- PHP website hosted on Server 2008 R2 (IIS 7)
- Website launches a server side program that I wrote
- The program (written in c) edits an XML file
- XML value has one value in it (whatever thats called in xml), i change it to a 0 for 30seconds, then change it back to 1
Whats working:
- PHP page launches program (see it in task manager for 30 seconds)
- program edits files when run as user (Administrator)
Problem:
- I have discovered that when the php page starts the program, it runs it almost in a sandbox per say.
- I was reading and discovered that Windows Server 2008 R2's security stops some services / programs run by services from accessing stuff
Solution:
I need the get the program of mine when launched by the php page edit the file...
What I am not good at:
- I only understand windows file permissions and user permissions / file ownership at say a windows/linux power user level of understanding.- I am no ways a system admin or anything
- Kinda figured out how Process Monitor/explorer by SystemInternals works
End goal:
- User clicks the link, web page loads, starts the server side program, program does its thing, web page closes itself.
Thanks a billion everyone for your help.
-thelastaspec
Last edited by thelastaspec; Jun 24, 2012 at 12:10 AM.
Thanks for the help.
Remote access is a no go on this one.
I guess ill keep reading up on how these permissions work...
Worst case is I have to learn php or asp or something as that should work fine.
Remote access is a no go on this one.
I guess ill keep reading up on how these permissions work...
Worst case is I have to learn php or asp or something as that should work fine.
Thread
Thread Starter
Forum
Replies
Last Post
detailersdomain
Wash & Wax
3
Oct 9, 2015 10:13 PM






