Export (0) Print
Expand All

Configuring Security in Windows 95/98

Visual Studio .NET 2003

Visual Studio Analyzer ships with a security framework. You can increase the security settings to reflect your site's needs. You configure security on each computer running the Visual Studio Analyzer server or client.

The procedures for restricting access use DCOMCNFG, a utility for configuring DCOM-specific settings in the registry. DCOMCNFG is shipped with the Windows 95/98 DCOM Refresh but is not added to the Start menu or to any groups.

Note   You start DCOMCNFG using the Run command on the Start menu.

For more information on using DCOMCNFG to configure access and launch permissions, search for "DCOMCNFG" in MSDN Library Visual Studio .NET.

To increase the security settings, you complete the following tasks:

  1. Restrict access to the Visual Studio Analyzer server to specific users.
  2. Restrict access to the Visual Studio Analyzer client.
  3. Edit the registry on the Visual Studio Analyzer server to enable security checking.
  4. Edit the registry on the Visual Studio Analyzer client to enable security checking.

You restrict access to your Visual Studio Analyzer server so you can control who has access to your site. User permissions should balance access for users so they can do their jobs with restrictions to prevent system damage.

To restrict access to the server to specific users

  1. Start DCOMCNFG.
  2. On the Applications tab, select MSVSA Local Event Concentrator Class.
  3. Click Properties, and then click the Security tab.
  4. Select Use custom access permissions, and click Edit.
  5. In the Access Permissions dialog box, click Add to add users to the list, or click Remove to remove users.

You perform the following procedure on any computer where you are running the Visual Studio Analyzer client. It ensures that only authorized users can access the client.

To restrict access to the client

  1. Start DCOMCNFG.
  2. On the Applications tab, select Microsoft Development Environment.
  3. Click Properties, and then click the Security tab.
  4. Select Use custom access permissions, and click Edit.
  5. If the user ID you specified for the Visual Studio Analyzer server to run under is not included in the list of users, click Add to add it, and add any other user IDs for computer that you plan to connect to.
  6. Click OK, and then click OK twice to stop DCOMCNFG.

After you have finished the DCOMCNFG process, you edit the registry to enable security checking for the server.

To edit the registry to enable security checking on the server

Note   If the key is already in the registry, go to the next task.
  1. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.0.
  2. On the Edit menu, click New, click Key, replace the supplied name of the key with Analyzer, and then press ENTER.
  3. Select Analyzer.
  4. On the Edit menu, click New, click Key, replace the supplied name of the key with Security, and then press ENTER.
  5. On the Edit menu, click New, click DWORD Value, and then replace the supplied name of the value with Enable.
  6. Double-click Enable to display the Edit DWORD Value dialog box.
  7. In the Value data box, type 1 and click OK.

You now edit the registry to enable security checking for the client.

To edit the registry to enable security checking on the Visual Studio Analyzer client

  1. Start regedit.
  2. Navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.0
  3. On the Edit menu, click New, and then click DWORD Value.
  4. Replace the supplied name of the value with EnableSecurity, and press ENTER.
  5. Double-click EnableSecurity to display the Edit DWORD Value dialog box.
  6. In the Value data box, type 1 and click OK.

See Also

Getting Started with Visual Studio Analyzer | Security Configuration in Visual Studio Analyzer | Security Basics | Configuring Windows 95 and Windows 98 to Accept Remote Connections | Configuring Security in Windows NT/2000

Show:
© 2015 Microsoft