Transport Security

Although this is not the preferred method, you can use the security settings that the named-pipe transport offers to add security features to your distributed application. These security settings are used with the Microsoft RPC functions that start with the prefixes RpcServerUseProtseq and RpcServerUseAllProtseqs, and the functions RpcImpersonateClient and RpcRevertToSelf.

Note

If you are running an application that is a service and you are using NTLM for security, you must add an explicit service dependency for your application. The Secur32.dll will call the Service Control Manager (SCM) to begin the NTLM security package service. However, an RPC application that is a service and is running as a system, must also contact the SC unless it is connecting to another service on the same computer.