Security (How Do I in Visual Basic)
This page links to help on widely used Visual Basic security tasks. To view other categories of popular tasks covered in Help, see How Do I in Visual Basic.
In General
Security and Visual Basic Development
Discusses the three common areas where you need to address security concerns.Security in Visual Studio
Provides links and pointers to fundamental security concepts, including secure coding techniques.Code Access Security Basics
Describes code access security and its most common uses.Role-Based Security
Provides an overview of .NET Framework role-based security.Security Policy Best Practices
Provides information for Windows developers about best practices for secure software.Microsoft Security Developer Center
Learn how Microsoft is working to help you keep your applications and systems secure, from the desktop to network-level systems, with links to security resources for IT professionals, developers, and home users.How to: Modify Database Connections
Gives advice about issues like how to store the database connection string.
Best Practices
- Security Policy Best Practices
Provides information for Windows developers about best practices for secure software.
Web Security
Securing ASP.NET Web Sites
The examples in this section show how to create ASP.NET applications that incorporate various kinds of security.Limiting Access to ASP.NET Web Sites
Describes how to control who can gain access to your Web project files and what level of access individuals have to the application.
Windows Security
Security in Windows Forms Overview
Briefly explains the .NET Framework security model and the basic steps necessary to ensure the Windows Forms in your application are secure.More Secure Printing in Windows Forms
Describes how to access printing features in a semi-trusted environment.More Secure File and Data Access in Windows Forms
Describes how to access files and data in a semi-trusted environment.ClickOnce Deployment and Security
Discusses permissions issues about applications deployed using ClickOnce technology, which run in a "sandbox," with limited permissions based on a security zone.
Component Security
Code Access Security
Provides conceptual information on code security and describes the .NET Framework approach to securing your components.Imperative Security
Describes how to use imperative security checks to protect sensitive lines of code from unauthorized use.
Database Security
- How to: Modify Database Connections
Gives advice about issues like how to store the database connection string.
Samples
- Visual Basic Security Samples
These samples demonstrate security tasks.