Re: NT Service Security

From: andrew (andrew.lowe.remove.this@geac.nospam.com)
Date: 01/21/03


From: "andrew" <andrew.lowe.remove.this@geac.nospam.com>
Date: Tue, 21 Jan 2003 15:43:45 +1100


"Vince" <vince_dooher@hotmail.com> wrote in message
news:eSvN6RivCHA.2596@TK2MSFTNGP12...
> The problem I have centers around the fact that I need to be able to stop
> and restart an NT service via a web interface.
> This seems to require me to impersonte the local system account. This
> however does not work correctly and I get an error.

Have you tried using integrated windows authentication (disable anonymous
access), and the <identity impersonate="true"> set in the web.config file.
If the user accessing the website then has permission to restart the service
your code should work.

hth
andrew



Relevant Pages

  • Re: Help with IE 7 add-ons
    ... DiskCleaner, WinAntiSypyware, and others. ... I disable it and after a restart ... If you need to use the Web Interface - ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • NT Service / Thin Client
    ... and restart an NT service via a web interface. ... This seems to require me to impersonte the local system account. ... Is this a known bug and is there a way around it ...
    (microsoft.public.dotnet.security)
  • NT Service Security
    ... and restart an NT service via a web interface. ... This seems to require me to impersonte the local system account. ... Is this a known bug and is there a way around it ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: How to re-start a program from web interface using PHP
    ... > We are running a application on the Linux, and would like to have a ... > web interface to restart it remotely using PHP. ...
    (comp.lang.php)
  • Re: How to re-start a program from web interface using PHP
    ... > We are running a application on the Linux, and would like to have a ... > web interface to restart it remotely using PHP. ...
    (alt.php)