[Windows] How to launch a program with lowered rights?
Posted: Sat Nov 09, 2013 3:22 pm
Hi all,
I'm currently writing a program that requires administrative privileges.
Its GUI contains a HyperLinkGadget, and when the user clicks at it a webpage with additional information is opened in the default browser.
But since my program is running with administrative privileges, currently the web browser is also launched with administrative privileges. This is not necessary for showing the webpage, and it's a potential security hole.
So how can a PB program that is running with administrative privileges, launch a third party program so that it runs only with normal privileges?
I'm currently writing a program that requires administrative privileges.
Its GUI contains a HyperLinkGadget, and when the user clicks at it a webpage with additional information is opened in the default browser.
But since my program is running with administrative privileges, currently the web browser is also launched with administrative privileges. This is not necessary for showing the webpage, and it's a potential security hole.
So how can a PB program that is running with administrative privileges, launch a third party program so that it runs only with normal privileges?