Share via


How to: Set Up Windows Authentication ModeĀ 

This topic applies to:

Visual Studio

Visual Basic

C#

C++

J#

Web Dev

Express

No

No

No

No

No

Standard

No

No

No

No

No

Pro/Team

Yes

Yes

Yes

Yes

Yes

Windows Authentication mode is the default connection mode for remote debugging. This mode uses Window's built-in authentication to provide a level of security comparable to a local login. 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, called No Authentication mode. No Authentication mode is faster but is not secure, so 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.

Caution noteCaution

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

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 the Permissions button.

    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 the Check Names button to verify the name 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 the Remove button.

To restore the default permissions for remote debugging

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

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

  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