Download presentation
Presentation is loading. Please wait.
1
© 2016, Mike Murach & Associates, Inc.
Chapter 19 © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
2
© 2016, Mike Murach & Associates, Inc.
Objectives © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
3
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
4
Types of digital secure certificates
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
5
© 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
6
How digital secure certificates work
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
7
© 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
8
© 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
9
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
10
A URL that requests a secure connection for IIS Express
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
11
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
12
© 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
13
Code that returns to an unsecured connection
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
14
© 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
15
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
16
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
17
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
18
C# code for the Cart page
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
19
C# code for the first Check Out page
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
20
C# code for the first Check Out page (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
21
C# code for the second Check Out page
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
22
C# code for the second Check Out page (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
23
C# code for the Confirmation page
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
24
Extra 19-1 Add security to the Halloween Store application
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.