|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
security issue with with windows service accountMy windows service application contains an IpcChannel which listens msg from client. If I install it with MyServiceProcessInstaller.Account="LocalSystem" or "LocalService", or "NetworkService". Then I got an exception "System.Runtime.Remoting.RemotingException: Failed to connect to an IPC Port: Access is denied" when client IPC channel try to connect to service. However If I install my service with MyServiceProcessInstaller.Account="User". Then everything is fine. in this case both client and server running under the same username. My goal is to install the service as "LocalSystem" or "LocalService", client can be any user and group. since I leave the "authroizedGroup" channel property as default and there is no security setting for IPC channel, I am thinking the problem is not in the IPC channel configuration, rather I need to configure Windows service properly. Your advice is highly appreciated! Hank hi,
why do you want local system? --------------------------------------- Dominick Baier - DevelopMentor http://www.leastprivilege.com Show quoteHide quote > Hi, > My windows service application contains an IpcChannel which listens > msg from > client. > If I install it with MyServiceProcessInstaller.Account="LocalSystem" > or > "LocalService", or "NetworkService". Then I got an exception > "System.Runtime.Remoting.RemotingException: Failed to connect to an > IPC > Port: Access is denied" when client IPC channel try to connect to > service. > However If I install my service with > MyServiceProcessInstaller.Account="User". Then everything is fine. in > this case both client and server running under the same username. > > My goal is to install the service as "LocalSystem" or "LocalService", > client can be any user and group. since I leave the "authroizedGroup" > channel property as default and there is no security setting for IPC > channel, I am thinking the problem is not in the IPC channel > configuration, rather I need to configure Windows service properly. > > Your advice is highly appreciated! > > Hank > Actually I want to install my windows service as either "LocalSystem",
"LocalService" or "NetworkService". So once installed, other users with different group can use it once they logon to the PC. It doesn't have to be "LocalSystem", but I hope it can be one of the above three. Thanks! Hang Show quoteHide quote "Dominick Baier [DevelopMentor]" <dbaier@pleasepleasenospamdevelop.com> wrote in message news:4580be631954d58c7eba847701650@news.microsoft.com... > hi, > why do you want local system? > > --------------------------------------- > Dominick Baier - DevelopMentor > http://www.leastprivilege.com > >> Hi, >> My windows service application contains an IpcChannel which listens >> msg from >> client. >> If I install it with MyServiceProcessInstaller.Account="LocalSystem" >> or >> "LocalService", or "NetworkService". Then I got an exception >> "System.Runtime.Remoting.RemotingException: Failed to connect to an >> IPC >> Port: Access is denied" when client IPC channel try to connect to >> service. >> However If I install my service with >> MyServiceProcessInstaller.Account="User". Then everything is fine. in >> this case both client and server running under the same username. >> >> My goal is to install the service as "LocalSystem" or "LocalService", >> client can be any user and group. since I leave the "authroizedGroup" >> channel property as default and there is no security setting for IPC >> channel, I am thinking the problem is not in the IPC channel >> configuration, rather I need to configure Windows service properly. >> >> Your advice is highly appreciated! >> >> Hank >> > >
Client/Server application with single login-SecureStream?
How can I access more properties of the AD Acount Application Security and Trust encrypting app.config with RSA Mail merge with an MD5 hash. Kerberos S4U problem SHA1Managed class has different results in 2.0 vs. 1.1?? Directory access check LogParser - Error Which Certificate store does IIS look at |
|||||||||||||||||||||||