Skip to Content
Enterprise Application Development with C# 9 and .NET 5
book

Enterprise Application Development with C# 9 and .NET 5

by Ravindra Akella, Rishabh Verma, Arun Kumar Tamirisa, Suneel Kumar Kunani, Bhupesh Guptha Muthiyalu
March 2021
Intermediate to advanced
610 pages
11h 56m
English
Packt Publishing
Content preview from Enterprise Application Development with C# 9 and .NET 5

Chapter 12: Understanding Authentication

So far, we have built the user interface (UI) and service layer of our e-commerce application. In this chapter, we will see how to secure it. Our e-commerce application should be able to uniquely identify a user and respond to the user's requests. A commonly used pattern for establishing user identity involves the provision of a username and password. These are then verified against the user's profile data, which is stored in a database or in an application. If it is matched, a cookie or token with the user's identity is generated and stored in the client's browser so that for subsequent requests, a cookie/token is sent to the server and validated to service requests.

Authentication is a process in which ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Professional C# 7 and .NET Core 2.0, 7th Edition

Professional C# 7 and .NET Core 2.0, 7th Edition

Christian Nagel
Pro C# 7: With .NET and .NET Core

Pro C# 7: With .NET and .NET Core

Andrew Troelsen, Philip Japikse
.NET Core 2.0 By Example

.NET Core 2.0 By Example

Neha Shrivastava, Rishabh Verma

Publisher Resources

ISBN: 9781800209442Supplemental Content