|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Windows Service Created Sub-process?Hi,
I use windows service to manage sub-processes. Service function is to create and kill process with System account. But process created by windows service cannot execute RemotingConfiguration.RegisterWellKnownClientType, RemotingConfiguration.RegisterWellKnownServiceType function with security exception. When the process startup independently there is no exception means no code permission demand. How can i issue this security problem? Maxixi Hello, maxixi!
m> I use windows service to manage sub-processes. m> Service function is to create and kill process m> with System account. m> But process created by windows service cannot execute m> RemotingConfiguration.RegisterWellKnownClientType, m> RemotingConfiguration.RegisterWellKnownServiceType m> function with security exception. When the process m> startup independently there is no exception means m> no code permission demand. m> How can i issue this security problem? When you start process as standalone app, under what account doest it run? If different then SYSTEM account, then in windows service you can do the impersonation ( http://www.codeproject.com/csharp/cpimpersonation1.asp ) and then start that process under necessary account.
GET the real content of a .p7m file with CAPICOM
IIS 6.0 Bug? SecurityExcepion inside DLL linked in an HTML tag OBJECT System.UnauthorizedAccessException - Using win forms application opening file - Urgent Data Acess aplication block Remoting IPCChannel security with Service Saving config file - System.UnauthorizedAccessException Active Directory User Creation Issues PKI in .net Program Data Acess aplication block __How to use it on server without Microsoft Visual Studio 2003 |
|||||||||||||||||||||||