Skip to Content
ASP.NET Core 5 Secure Coding Cookbook
book

ASP.NET Core 5 Secure Coding Cookbook

by Roman Canlas
July 2021
Intermediate to advanced
324 pages
5h 35m
English
Packt Publishing
Content preview from ASP.NET Core 5 Secure Coding Cookbook

Chapter 6: Broken Access Control

Authorization is just as significant and essential as authentication. It defines what an authenticated user can perform and execute, and resources and web pages need to have defined privileges to limit unauthorized access. Permission bypass and missing or improper access controls are some of the broken access control vulnerabilities discovered in an ASP.NET Core web application.

In this chapter, we're going to cover the following recipes:

  • Fixing insecure direct object references (IDOR)
  • Fixing improper authorization
  • Fixing missing access control
  • Fixing open redirect vulnerabilities

By the end of this chapter, you will have learned how to use the built-in authorization mechanism in ASP.NET Core. You will properly ...

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

Hands-On RESTful Web Services with ASP.NET Core 3

Hands-On RESTful Web Services with ASP.NET Core 3

Samuele Resca
ASP.NET Core and Vue.js

ASP.NET Core and Vue.js

Devlin Basilan Duldulao
ASP.NET Core Security

ASP.NET Core Security

Christian Wenz

Publisher Resources

ISBN: 9781801071567Supplemental Content