Access control of Windows Service and Interop

From: Guogang (nospam@no_such_domain.com)
Date: 04/18/03


From: "Guogang" <nospam@no_such_domain.com>
Date: Thu, 17 Apr 2003 18:06:25 -0700


I have a Windows Service which runs as a special account with necessary
permission. I have another client account with very little permission.

We want to write a GUI program to communicate with the Windows Service from
client account.

The reason we want to do this: there are log files, client certificates, and
other sensitive information that we don't want to let client have access.
But, we DO want to give client the ability to have limited access to these
information defined by our program.

Question:
1. How will the access control be enforced? For example: I want to call a
function of theWindwos Service to read/write a file, which the client
account has no access to. But, we want to show the client a piece of
information in the file through our program;

2. Is there detailed documentation of implementing Interop between a service
and client program?

Thanks,
Guogang



Relevant Pages

  • RE: Can I serialize cached credentials for later authentication on
    ... The logon session only disappears when all tokens referencing it are closed, ... Note that the original request made no assumption with regards to the moment ... When the network is unavailable for client ... Service application on the same client machine so that this Windows Service ...
    (microsoft.public.platformsdk.security)
  • Re: Looking For Code Sample and Request Feedback
    ... I would prefer to use a Windows Service but a web service will do to. ... What is very easy to do on a Server 2003 and with VBNet? ... > I am looking for a code sample that communicates from a client to a remote> Windows Service on another computer over the internet, that is the Windows> Service performing instructions the client sends. ... the client does the office automation and the actual> communication of the commands to this server. ...
    (microsoft.public.dotnet.languages.vb)
  • RE: NetworkService - Could not establish secure channel for SSL/TL
    ... I understand you have a .net based windows service ... Based on my understanding on this, the problem is still likely a permission ... issue specific to the client machine's authentication certificate. ...
    (microsoft.public.dotnet.framework)
  • Guarantee reload of assembly when change is made on network share
    ... A single windows service is to be installed on the ... enterprise client workstations. ... replace a *.dll on the file network share that the client service uses ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: Remoting or windows service
    ... the client and the server. ... Does vs.net provide a way to work with the client end and the ... BTW your rundown on the differences between remoting and services was ... > user (which means that a Windows service can run even if there is no user ...
    (microsoft.public.dotnet.framework.remoting)