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 |
---|
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
In the Remote Debugging Monitor, on the Tools menu, click Options.
In the Options dialog box, select the Windows Authentication option.
Click the Permissions button.
The Permissions for Remote Debugging dialog box appears.
Add or remove debugging permissions, as necessary.
For more information, see the following procedures.
Click OK to close the Permissions for Remote Debugging dialog box.
Click OK to close the Options dialog box.
To grant debugging permission to a specific user or group
In the Permissions for Remote Debugging dialog box, select a user or group in the Group or user names box.
In the Permissions for <username> box, Debug row, select the check box under Allow.
To deny debugging permission to a specific user or group
In the Permissions for Remote Debugging dialog box, select a user or group in the Group or user names box.
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
In the Permissions for Remote Debugging dialog box, click the Add button.
The Select Users, Computers, or Groups dialog box appears.
Type the new user or group name in the Enter the object names to select box.
(Optional) Click the Check Names button to verify the name you entered.
Click OK.
To remove a user or group from permissions for remote debugging
In the Permissions for Remote Debugging dialog box, select a user or group in the Group or user names box.
Click the Remove button.
To restore the default permissions for remote debugging
In the Permissions for Remote Debugging dialog box, click the Advanced button.
In the Advanced Security Settings for Remote Debugging dialog box, click the Default button.
Click OK.
See Also
Tasks
How to: Set Up "No Authentication" Mode
How to: Run the Remote Debugging Monitor