Security for Microsoft Visual Basic .NET

Security for Microsoft Visual Basic .NET


$42.08 $49.99 Save 16% Current price is $42.08, Original price is $49.99. You Save 16%.


Learn the techniques that every developer who works with Visual Basic .NET should know about designing, developing, and developing security-enhanced applications for Microsoft Windows and the Web. Visual Basic .NET experts Ed Robinson and Mike Bond introduce critical security concepts using straightforward language and step-by-step examples. You get clear, end-to-end guidance—covering application design, coding techniques, testing methods, and deployment strategies, along with direction on how to help secure the operating system and related infrastructure and services.
Discover how to:

  • Design a security-enhanced architecture
  • Understand the most common vulnerabilities and how to write code to prevent them
  • Implement authentication and authorization techniques in your applications
  • Learn techniques for encryption, input validation, and exception handling
  • Add Windows, Forms, and Passport authentication to Web applications
  • Perform a security threat analysis and implement countermeasures
  • Think like a hacker—and uncover security holes
  • Create a setup for your application that implements security during installation
  • Lock down the Windows operating system, Microsoft IIS, Microsoft SQL Server, and Microsoft Access databases

Product Details

ISBN-13: 9780735619197
Publisher: Microsoft Press
Publication date: 06/11/2003
Series: Developer Reference Series
Pages: 416
Product dimensions: 7.45(w) x 9.27(h) x 0.92(d)

About the Author

Ed Robinson is a member of the Microsoft Visual Basic .NET team and coauthor of Upgrading Microsoft Visual Basic 6.0 to Microsoft Visual Basic .NET, published by Microsoft Press. He has been through the Microsoft security program, understands the Visual Basic developer, and spoke at TechEd conference about writing secure components with Visual Basic .NET.

Table of Contents

How to Use This Book;
How to Use the Code Samples;
A Final Word;
Corrections, Comments, and Help;
Development Techniques;
Chapter 1: Encryption;
1.1 Practice Files;
1.2 Hash Digests;
1.3 Private Key Encryption;
1.4 Public Key Encryption;
1.5 Hiding Unnecessary Information;
1.6 Encryption in the Real World;
1.7 Summary;
Chapter 2: Role-Based Authorization;
2.1 Role-Based Authorization Exercise;
2.2 Windows Integrated Security;
2.3 ASP.NET Authentication and Authorization;
2.4 Role-Based Authorization in the Real World;
2.5 Summary;
Chapter 3: Code-Access Security;
3.1 How Actions Are Considered Safe or Unsafe;
3.2 What Prevents Harmful Code from Executing?;
3.3 It’s On By Default;
3.4 Security Features and the Visual Basic .NET Developer;
3.5 Code-Access Security vs. Application Role-Based Security;
3.6 Run Your Code in Different Security Zones;
3.7 Code-Access Security in the Real World;
3.8 Summary;
Chapter 4: ASP.NET Authentication;
4.1 EmployeeManagementWeb Practice Files;
4.2 Forms Authentication;
4.3 Windows Integrated Security Authentication;
4.4 Passport Authentication;
4.5 ASP.NET Authentication in the Real World;
4.6 Summary;
Chapter 5: Securing Web Applications;
5.1 Secure Sockets Layer;
5.2 Securing Web Services;
5.3 Implementing an Audit Trail;
5.4 Securing Web Applications in the Real World;
5.5 Summary;
Ensuring Hack-Resistant Code;
Chapter 6: Application Attacks and How to Avoid Them;
6.1 Denial of Service Attacks;
6.2 File-Based or Directory-Based Attacks;
6.3 SQL-Injection Attacks;
6.4 Cross-Site Scripting Attacks;
6.5 Child-Application Attacks;
6.6 Guarding Against Attacks in the Real World;
6.7 Summary;
Chapter 7: Validating Input;
7.1 Working with Input Types and Validation Tools;
7.2 Summary;
Chapter 8: Handling Exceptions;
8.1 Where Exceptions Occur;
8.2 Exception Handling;
8.3 Global Exception Handlers;
8.4 Exception Handling in the Real World;
8.5 Summary;
Chapter 9: Testing for Attack-Resistant Code;
9.1 Plan of Attack—The Test Plan;
9.2 Attack—Execute the Plan;
9.3 Common Testing Mistakes;
9.4 Testing in the Real World;
9.5 Summary;
Deployment and Configuration;
Chapter 10: Securing Your Application for Deployment;
10.1 Deployment Techniques;
10.2 Code-Access Security and Deployment;
10.3 Certificates and Signing;
10.4 Deploying .NET Security Policy Updates;
10.5 Protecting Your Code—Obfuscation;
10.6 Deployment Checklist;
10.7 Deployment in the Real World;
10.8 Summary;
Chapter 11: Locking Down Windows, Internet Information Services, and .NET;
11.1 "I’m Already Protected. I’m Using a Firewall.";
11.2 Fundamental Lockdown Principles;
11.3 Automated Tools;
11.4 Locking Down Windows Clients;
11.5 Locking Down Windows Servers;
11.6 Locking Down IIS;
11.7 Locking Down .NET;
11.8 Summary;
Chapter 12: Securing Databases;
12.1 Core Database Security Concepts;
12.2 SQL Server Authentication;
12.3 SQL Server Authorization;
12.4 Microsoft Access Authentication and Authorization;
12.5 Locking Down Microsoft Access;
12.6 Locking Down SQL Server;
12.7 Summary;
Enterprise-Level Security;
Chapter 13: Ten Steps to Designing a Secure Enterprise System;
13.1 Design Challenges;
13.2 Step 1: Believe You Will Be Attacked;
13.3 Step 2: Design and Implement Security at the Beginning;
13.4 Step 3: Educate the Team;
13.5 Step 4: Design a Secure Architecture;
13.6 Step 5: Threat-Model the Vulnerabilities;
13.7 Step 6: Use Windows Security Features;
13.8 Step 7: Design for Simplicity and Usability;
13.9 Step 8: No Back Doors;
13.10 Step 9: Secure the Network with a Firewall;
13.11 Step 10: Design for Maintenance;
13.12 Summary;
Chapter 14: Threats—Analyze, Prevent, Detect, and Respond;
14.1 Analyze for Threats and Vulnerabilities;
14.2 Prevent Attacks by Mitigating Threats;
14.3 Detection;
14.4 Respond to an Attack;
14.5 Security Threats in the Real World;
14.6 Summary;
Chapter 15: Threat Analysis Exercise;
15.1 Analyze for Threats;
15.2 Respond to Threats;
15.3 Summary;
Chapter 16: Future Trends;
16.1 The Arms Race of Hacking;
16.2 What Happens Next?;
16.3 Responding to Security Threats;
16.4 Summary;
Guide to the Code Samples;
Employee Management System;
Employee Management Web;
Encryption Demo;
TogglePassportEnvironment utility;
Employee Database Structure;
Migrating the Employee Database to SQL Server 2000;
Contents of SecurityLibrary.vb;
Hash Digests;
Private Key Encryption;
DPAPI Encryption;
Public Key Encryption;
Logging Exceptions;
Role-Based Security;
Validating Input;
About the Authors;
Ed Robinson;
Michael Bond;

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews