Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
 Security Warning: Attaching to a pr...

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
Visual Studio Debugger
Security Warning: Attaching to a process owned by an untrusted user can be dangerous. If the following information looks suspicious or you are unsure, do not attach to this process

This warning dialog box appears when you attach to a process that contains partially trusted code or is owned by an untrusted user immediately before the attach occurs. An untrusted process that contains malicious code has the potential to damage the computer doing the debugging. If you have reason to distrust the process, then you should click Cancel to prevent debugging.

If you are debugging a legitimate scenario that causes this warning to appear, and want to suppress it, there is a registry setting that allows you to do this. Remember to re-enable the warning after you are done with the scenario.

"Trusted users" include yourself, plus a set of standard users who are typically defined on computers that have the .NET Framework installed, such as aspnet, localsystem, networkservice, and localservice.

Name

Name of the assembly requested to debug

User

Current user

Attach

Press to continue to debug by attaching

Don't Attach

Do not attach to the process

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Found on a blog      AndrewSeven   |   Edit   |   Show History

Found on a blog

http://blogs.officezealot.com/mtblog/archive/2008/06/17/visual-studio-attach-security-warning.aspx

  • Visual Studio 2008 - HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Debugger\DisableAttachSecurityWarning
  • Visual Studio 2005 - HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\Debugger\DisableAttachSecurityWarning

Change the value from 0 to 1.

Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker