Dela via


How to: Set Up Windows Authentication Mode

This topic applies to:

Edition

Visual Basic

C#

F#

C++

Web Developer

Express

Topic does not apply Topic does not apply Topic does not apply Topic does not apply Topic does not apply

Pro, Premium, and Ultimate

Topic applies Topic applies Topic applies Topic applies Topic does not apply

Windows Authentication mode is the default connection mode for remote debugging. This mode uses authentication that is built in to Microsoft Windows to provide a level of security comparable to a local logon. You can use this mode for remote debugging of native or managed code.

For native code, the Remote Debugging Monitor also provides an alternative mode, which is named No Authentication mode. No Authentication mode is faster but is not secure. Therefore, it should only be used when network speed is more important than security, such as a slow internal network. For more information, see How to: Set Up "No Authentication" Mode.

Warning

Granting debugging permission to a user gives that user power to execute any arbitrary code on the computer where you grant permission. You should grant this permission only to users who you completely trust to execute code on the computer.

To set up Windows Authentication mode

  1. In the Remote Debugging Monitor, on the Tools menu, click Options.

  2. In the Options dialog box, select the Windows Authentication option.

  3. Click Permissions.

    The Permissions for Remote Debugging dialog box appears.

  4. Add or remove debugging permissions, as necessary.

    For more information, see the following procedures.

  5. Click OK to close the Permissions for Remote Debugging dialog box.

  6. Click OK to close the Options dialog box.

To grant debugging permission to a specific user or group

  1. In the Permissions for Remote Debugging dialog box, select a user or group in the Group or user names box.

  2. In the Permissions for <username> box, Debug row, select the check box under Allow.

To deny debugging permission to a specific user or group

  1. In the Permissions for Remote Debugging dialog box, select a user or group in the Group or user names box.

  2. In the Permissions for <username> box, Debug row, select the check box under Deny.

To add a new user or group to permissions for remote debugging

  1. In the Permissions for Remote Debugging dialog box, click the Add button.

    The Select Users, Computers, or Groups dialog box appears.

  2. Type the new user or group name in the Enter the object names to select box.

  3. (Optional) Click Check Names to verify the name that you entered.

  4. Click OK.

To remove a user or group from permissions for remote debugging

  1. In the Permissions for Remote Debugging dialog box, select a user or group in the Group or user names box.

  2. Click Remove.

To restore the default permissions for remote debugging

  1. In the Permissions for Remote Debugging dialog box, click Advanced.

  2. In the Advanced Security Settings for Remote Debugging dialog box, click Default.

  3. Click OK.

See Also

Tasks

How to: Set Up "No Authentication" Mode

How to: Run the Remote Debugging Monitor

Other Resources

Remote Debugging Setup