M2300 – Developing Secure Web Applications Microsoft Visual Studio

Enquire/Book this course

  • This field is for validation purposes and should be left unchanged.
Print this page
  • Code: M2300
  • Duration: Days 3
  • Price per delegate: £750.00 +VAT

Trained over 60000 delegates

Course delivered by industry expert instructors

Highly competitive pricing

 

Course Description
This three-day instructor-led course provides students with the knowledge and skills that are needed to build Web applications by using security-enhanced coding techniques. Students will learn how to identify Web application security vulnerabilities and understand the trade-offs between functionality and performance when choosing the appropriate security mechanisms for their Web applications. Throughout this course, students will get hands-on experience in creating security-enhanced Web applications.

Target Student: This course is intended for students who are responsible for the design and development of Web applications. These students typically have three to five years of experience in developing or designing distributed Web applications. Actual job role titles vary throughout the technology industry, and they may include, but are not limited to:
  • Web Developer: The Web developer is responsible for developing the logic, coding, testing, and debugging of Web applications and Web application software.
  • Solutions Architect: The Solutions Architect is responsible for the design of the technical architecture of Web applications and Web-based software applications

Prerequisites: Before attending this course, students must have:
  • Familiarity with n-tier application architecture.
  • Experience in developing or designing distributed Web applications.
  • Experience with one or both of the following programming languages:
    • Microsoft C#
    • Microsoft Visual Basic .NET
  • Experience in writing server-side and client-side scripts by using one or both of the following scripting languages:
    • Active Server Pages (ASP)
    • Microsoft ASP.NET
  • Familiarity with all of the following Microsoft products and technologies is recommended:
    • SQL Server 2000
    • Microsoft Internet Information Services (IIS)
 
Delivery Method: Instructor led, group-paced, classroom-delivery learning model with structured hands-on activities.
Performance-Based Objectives
After completing this module, students will be able to:
  • Define the basic principals of, and motivations for, Web security.
  • Perform a threat analysis of Web-accessible assets.
  • Use knowledge of authentication, Security Identifiers (SIDs), Access Control Lists (ACLs), impersonation, and the concept of running with least privilege to help ensure access to only those system resources that are necessary to accomplish normal request processing.
  • Help protect file system data by using the features in Microsoft Windows 2000.
  • Use the Microsoft SQL Server Security model and Microsoft ADO.NET to help protect a Web application against SQL Server injection attacks.
  • Use one of the CryptoService classes of the System.Security.Cryptography namespace to transform a block of data into cyphertext.
  • Help protect the portion of a Web application that requires private communications by using Secure Sockets Layer (SSL), .
  • Use general security coding best practices to help ensure a security-enhanced Web application.
  • Use the Microsoft .NET Framework to build security-enhanced Web applications.
  • Employ a structured approach to testing for Web application security.
  • Use a systematic approach and knowledge of security best practices to help protect an existing Web application.
 
Course Content
Module 1: Introduction to Web Security
This module provides an overview of the terms and concepts of, along with the justification for, Web security.
Lessons
  • Why Build Security-Enhanced Web Applications?
  • Using the STRIDE Model to Determine Threats
  • Implementing Security: An Overview
After completing this module, students will be able to:
  • Describe why security is an essential consideration in Web application development.
  • Describe the basic methods of cryptography, hashing, and digital signing.
Module 2: Planning for Web Application Security
This module describes the general process of incorporating security in the Web application planning and design process.
Lessons
  • A Design Process for Building Security-Enhanced Web Applications
After completing this module, students will be able to:
  • Describe the iterative process of designing security into a Web application and be able to describe how each step relates to the other steps.
  • Categorize and identify the most common types of attacks, the potential threat that those attacks pose to systems, services, and data within the organization, and the relationship between these threats.
Module 3: Validating User Input
This module explains the methods that can be used for checking user input, along with a discussion of the consequences of not performing those checks.
Lessons
  • User Input
  • Types of User Input Attacks
  • Performing Validation
  • Revealing as Little Information as Possible to the User
Lab : Verifying User Input
  • The student will be given the task of identifying and repairing several unchecked user input fields on the checkout shipping screen.
After completing this module, students will be able to:
  • Identify the sources of user input in a Web application.
  • Describe the security aspects of the client/server Web paradigm.
  • Implement user input verification.
  • Use communications analysis and coding best practices to avoid providing information to users that can be leveraged for security attacks.
  • Use proper error handling to help ensure all fallback paths are expected, wanted, and do not suspend resource allocations.
  • Reduce the impact of enialerviceDenial of Service (DoS) attacks of varying types, such as application crashing, CPU starvation, resource starvation, and bandwidth choking.
Module 4: Internet Information Services Authentication
The following topics are covered in this module:
Lessons
  • Introduction to Web Client Authentication
  • Configuring Access Permission for a Web Server
  • Selecting a Security-Enhanced Client Authentication Method
  • Running Services As an Authenticated User
Lab : Authentication and Access Control
  • Students will configure and implement the authentication and process identification for the online store Web application.
After completing this module, students will be able to:
  • Describe all of the authentication methods that are supported by IIS and Windows 2000 Server and be able to select the best method for a given set of requirements.
  • Use knowledge of Windows 2000 access control mechanisms and process identification to properly configure identities for all of the processes in an ASP/COM+ Web application processing path.
  • Use knowledge of Windows 2000 access control mechanisms and process identification to properly configure resource access for the identities that are defined for a Web application.
Module 5: Securing Web Pages
This module covers security in the context of Web applications that are built by using the .NET framework.
Lessons
  • ASP Forms-Based Authentication
  • .NET Code Access and Role-Based Security
  • Overview of ASP.NET Authentication Methods
  • Working with Windows-Based Authentication in ASP.NET security
  • Working with ASP.NET Forms-Based Authentication
Lab : Securing Web Pages
  • Students will be given the task of completing the implementation of an ASP.NET Web application and setting up the authentication and impersonation methods
After completing this module, students will be able to:
  • Describe the elements that make up the core security model of the .NET Framework.
  • Use security best practices and a complete understanding of the security model while implementing ASP.NET Web applications.
Module 6: Securing File System Data
This module teaches a Web developer how to help protect file system data that is typically part of a Web application.
Lessons
  • Overview of Securing Files
  • Windows Access Control
  • Creating ACLs Programmatically
  • Helping to Protect ASP.NET Web Application Files
Lab : Securing Files with ACLs
  • The students will help protect file system data on an ASP.NET page.
After completing this module, students will be able to:
  • Describe how the Windows access control mechanisms are used to help protect file system data.
  • Use the features of Windows to help protect Web application data from tampering.
  • Use ASP.NET Web.config files to restrict access to files that are located in an ASP.NET Web application.
Module 7: Securing Microsoft SQL Server
This module will teach students how to help protect Web applications from SQL Server injection attacks.
Lessons
  • SQL Server Connections and Security
  • SQL Server Role-Based Security
  • Securing SQL Server Communication
  • Preventing SQL Injection Attacks
Lab : Securing Microsoft SQL Server Data
  • The student will be given the task of repairing the Web application implementation by using stored procedures and Microsoft ActiveX Data Objects (ADO) command parameters.
After completing this module, students will be able to:
  • Use the SQL Server Security model and ADO.NET to help protect a Web application against attacks.
Module 8: Helping to Protect Communication Privacy and Data Integrity
This module teaches the mechanisms that can be used to help ensure Web communication privacy and message data integrity, along with the guidelines for their proper use. The guidelines are presented as an attempt to avoid the common implementation mistakes that can compromise security and performance.
Lessons
  • Introduction to Cryptography
  • Working with Digital Certificates
  • Management
  • Using Secure Sockets Layer/Transport Layer Security Protocols
  • Using Internet Protocol Security
Lab : Obtaining a Server CertificateLab : Helping to Protect Communication Privacy and Data Integrity
  • Students will determine what portions of the course Web application require communication privacy and they will then implement SSL-enhanced protection for those portions.
After completing this module, students will be able to:
  • Help protect the portions of a Web application that require private communications by using SSL.
Module 9: Encrypting, Hashing, and Signing Data
This module explains how to use the cryptographic functionality, supported by Microsoft platforms, to encrypt and sign data.
Lessons
  • Encryption and Digital Signing Libraries
  • Using CAPICOM
  • Using System.Security.Cryptography Namespace to Hash Data
  • Using System.Security.Cryptography Namespace to Encrypt and Sign Data
Lab : Hashing Data
  • Students will sign the contents of a file when it is stored and verify that signature to help ensure data validity when the value is read again.
After completing this module, students will be able to:
  • Use one of the Cryptographic Services classes of the System.Security.Cryptography namespace to transform a block of data to cyphertext.
Module 10: Testing Web Applications for Security
This module will provide students with the skills and knowledge that are required to properly test a Web implementation for security.
Lessons
  • Testing Security in a Web Application
  • Creating a Security Test Plan
  • Performing Security Testing
Lab : Test Cases for Security Testing
  • Students will perform test cases on the course Web application.
After completing this module, students will be able to:
  • Differentiate security testing from other types of testing.
  • Create a security test plan.
  • Successfully carry out a security test plan.