Security in Visual Studio


For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

For the latest documentation on Visual Studio 2017, see Security in Visual Studio on You should consider security in all aspects of your application development, from design to deployment. Start by running Visual Studio as securely as possible. See User Permissions.

To help you effectively develop secure applications, you should have a fundamental understanding of security concepts and the security features of the platforms for which you develop. You should also understand secure coding techniques.

Describes .NET Framework code access security, role-based security, security policy, and security tools.

Defend Your Code with Top Ten Security Tips Every Developer Must Know
Describes the issues that you should watch out for so that you don't compromise your data or your system.

Most coding errors that result in security vulnerabilities occur because developers make incorrect assumptions when working with user input or because they don't fully understand the platform for which they're developing.

Secure Coding Guidelines
Provides guidelines for classifying your components to address security issues.

Security Best Practices
Discusses buffer overruns and the complete picture of the Microsoft Visual C++ security checks feature provided by the /GS compile-time flag.