Setting Process-Wide Security

There are several ways to set process-wide security. The first way, using the Dcomcnfg.exe tool, is easiest because it requires no programming. The second technique offers the programmer more control, and it requires a call to CoInitializeSecurity. Another technique is to set process-wide security in the registry by using the AppID key.

For more information about these techniques, see the following topics:

Setting Security at the Interface Proxy Level

Setting Security for COM Applications