How to: Set Up Windows Authentication Mode
This topic applies to:
Edition |
Visual Basic |
C# |
F# |
C++ |
Web Developer |
---|---|---|---|---|---|
Express |
|||||
Pro, Premium, and Ultimate |
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
In the Remote Debugging Monitor, on the Tools menu, click Options.
In the Options dialog box, select the Windows Authentication option.
Click Permissions.
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 Check Names to verify the name that 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 Remove.
To restore the default permissions for remote debugging
In the Permissions for Remote Debugging dialog box, click Advanced.
In the Advanced Security Settings for Remote Debugging dialog box, click Default.
Click OK.
See Also
Tasks
How to: Set Up "No Authentication" Mode
How to: Run the Remote Debugging Monitor