How To Set or Retrieve the Authentication Level of a DCOM Client (268884)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q268884 SUMMARY
If you need to set a custom value for the Authentication Level for a DCOM client application, you can use one of the following options:
- Call CoInitializeSecurity.
- Create an AppId in the registry that has a double word (DWORD) value set for AuthenticationLevel and map this AppId to the executable file name of your DCOM client.
This article uses the second option.
REFERENCES
For more information on AppId, see the following directory in MSDN:
\Platform SDK\Component Services\COM\COM Fundamentals\Reference\Registry Entries\AppId
For additional information on securing objects in code, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
239561 How To Use CoInitializeSecurity in Visual Basic
249636 How To Use the CoSetProxyBlanket Function in Visual Basic
Modification Type: | Minor | Last Reviewed: | 8/30/2004 |
---|
Keywords: | KbClientServer kbDCOM kbhowto kbRegistry kbSecurity KB268884 |
---|
|