Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Folks,
I have a COM server and Client. AFAIK, they communicate over RPC on different computers and LPC on the same computer system. Is there any way to secure this communication? i.e. verify client and server and then start communication?

Thanks in advance.

What I have tried:

MS documentation, RPC protocol,LPC protocol.
Posted
Updated 2-Jan-24 6:04am
v2
Comments
Jo_vb.net 1-Jan-24 10:29am    
This may help you:
https://www.akamai.com/blog/security-research/msrpc-security-mechanisms

1 solution

On application layer you can start to look from the topic:
COM+ Security Concepts - Win32 apps | Microsoft Learn[^]
It starts from the basic description and go down to the implementation.
Next thing you can look is the COM+ events:
COM+ Events Concepts - Win32 apps | Microsoft Learn[^]
As there is event interface IComSecurityEvents which allows you to check authentication.
If you need low level of that see the:
Writing a Secure RPC Client or Server - Win32 apps | Microsoft Learn[^]
Along with above check the RPC Protocol documentation.

Regards,
Maxim.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900