© 2016, Mike Murach & Associates, Inc. Chapter 19 © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
© 2016, Mike Murach & Associates, Inc. Objectives © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
A page that was requested with a secure connection The URL starts with https: © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Types of digital secure certificates © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
© 2016, Mike Murach & Associates, Inc. Common certification authorities that issue digital secure certificates © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
How digital secure certificates work © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
© 2016, Mike Murach & Associates, Inc. The dialog box that’s displayed when you run a TLS/SSL enabled application © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
© 2016, Mike Murach & Associates, Inc. The page that’s displayed in IE if you choose not to trust the certificate © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The address bar in IE if you continue to the website © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
A URL that requests a secure connection for IIS Express © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
A Web.config file that defines secure and unsecure path settings © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
© 2016, Mike Murach & Associates, Inc. Code that retrieves the secure application path from the Web.config file © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Code that returns to an unsecured connection © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
© 2016, Mike Murach & Associates, Inc. Properties of the HttpRequest class for working with secure connections © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
A Page_Load method that forces the page to use a secure connection © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
A statement that replaces the HTTP protocol with the HTTPS protocol © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The security for the Shopping Cart application Cart.aspx CheckOut1.aspx Secure CheckOut2.aspx Order.aspx Confirmation.aspx Unsecure © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
C# code for the Cart page © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
C# code for the first Check Out page © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
C# code for the first Check Out page (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
C# code for the second Check Out page © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
C# code for the second Check Out page (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
C# code for the Confirmation page © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Extra 19-1 Add security to the Halloween Store application © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015