HOWTO: Use DCOM Config (DCOMCNFG.EXE) with Windows 95Last reviewed: March 10, 1998Article ID: Q182248 |
The information in this article applies to:
SUMMARYDCOMCNFG.EXE (known as DCOM Config) is a utility that can be used to secure distributed COM (DCOM) objects that have been created. Because security is much more advanced on Windows NT, the options differ on Windows NT systems. This article, written for those running DCOM Config on Windows 95 systems, describes the options and settings in DCOM Config.
MORE INFORMATIONThe DCOM Config's main window is divided into three tabs:
Applications TabThe Applications tab shows each of the items registered under the following registry key:
HKEY_CLASSES_ROOT\AppId\Beneath this key are all of the objects that can be launched on a remote machine. DCOM Config displays just the ProgIDs (friendly names) of each object, such as "Microsoft Word Document" or "Microsoft Access Database." Some objects may register without registering a ProgID; in these cases, the GUID of the object will be displayed, such as "{4E6B942A-01B0-11D1-A9CB- 00AA00B7B36F}." Properties for each application listed in the Applications tab can be viewed either by selecting an item and choosing the "Properties" button, or by double-clicking the application name.
Default Properties TabEach of the values displayed under the Default Properties tab may be found under the following key in the registry:
HKEY_LOCAL_MACHINE\Software\Microsoft\OLEThe first item in the Default Properties tab is a check box:
"Enable Distributed COM on this computer"This is a global setting for the entire machine. When this option is checked, the machine allows the creation of DCOM objects. If it is not checked, no objects may be created via DCOM. NOTE: You must reboot the system in order for a change in this setting to take effect. The second part of the Default Properties tab is the Default Distributed COM Communication properties, which consists of two parts:
Name Description
None No authentication. Connect Authentication occurs when a connection is made to the server. Connectionless protocols do not use this.Unlike Windows NT, Windows 95 machines can only accept calls on the 'None' or 'Connect' levels.
Name Description
Identify The server can impersonate the client to check permissions in the ACL (Access Control List) but cannot access system objects. Impersonate The server can impersonate the client and access system objects on the client's behalf.The last item on the Default Properties tab is a check box:
"Provide additional security for reference tracking"This tells the server to track connected client applications by keeping an additional reference count. Checking this box uses more memory and may slow down COM, but it ensures that a client application cannot kill a server process by artificially forcing a reference count to zero.
Default Security TabOn Windows 95 machines, there is an option under the Default Security tab for Default Access Permission. The value displayed here may be found in the Windows registry at the following location:
HKEY_LOCAL_MACHINE\Software\Microsoft\OLEDefault Access Permission - This value determines the users who can access an object when no other access permissions are provided. For information on how to give individual access permissions to specific DCOM objects, see the "Application Properties" section later in this document. An additional option under the Default Security tab is "Enable remote connection." This option must be selected in order to enable remote connections to DCOM Servers running on Windows 95. The value is stored as a Yes or No value in the Windows registry at the following location:
HKEY_LOCAL_MACHINE\Software\Microsoft\OLE\EnableRemoteConnect Application PropertiesYou may specify custom settings for individual DCOM applications by choosing the Properties button on the "Applications" tab in DCOM Config. This section describes each tab (General, Location, and Security) and setting found within Application Properties.
GeneralThe General tab provides general information about the application. This tab displays the Application name, type (local server or remote server), and location (local path or remote computer). These settings are not modifiable through the DCOM Config interface. The General Tab retrieves all of its information from subkeys of the following registry key:
HKEY_CLASSES_ROOT\CLSID\{...CLSID...}where {...CLSID...} is the unique CLSID for the Object Server currently being viewed.
LocationThis tab is used to determine where DCOM will execute the application. There are three possible choices:
SecurityOn this tab, you may customize settings for individual application permissions. This tab is only available for objects capable of performing as DCOM Servers. You may customize the settings for the following permissions:
REFERENCESFor additional information, please see the following articles in the Microsoft Knowledge Base:
ARTICLE-ID: Q158508 TITLE : INFO: COM Security Frequently Asked Questions ARTICLE-ID: Q165101 TITLE : HOWTO: Use Win95 as a DCOM Server ARTICLE-ID: Q176799 TITLE : INFO: Use DCOM Config (DCOMCNFG.EXE) on Windows NT Keywords : vb5all vb5howto VBKBDCOM VBKBRegistry Version : WINDOWS:5.0 Platform : Win95 WINDOWS Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |