Skip to Content
ASP.NET Core Security
book

ASP.NET Core Security

by Christian Wenz
July 2022
Beginner to intermediate
368 pages
9h 48m
English
Manning Publications
Content preview from ASP.NET Core Security

10 Error handling

This chapter covers

  • Learning how ASP.NET Core handles uncaught exceptions
  • Knowing when to use the developer exception page
  • Setting up a custom error page
  • Displaying error messages specific to the HTTP status code
  • Formatting errors within an API

In 2018, health care and health IT news portal Healthcare Dive reported about a white paper by security company Zingbox, which analyzed medical IoT devices (http://mng.bz/aJem). They specifically looked at the error messages displayed on those devices. As they found out, the following information was included on several devices:

  • Database names and usernames

  • File paths on the server

  • Source code filenames and the names of classes, methods, and parameters

  • Source code line numbers ...

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

Pro ASP.NET Core Identity: Under the Hood with Authentication and Authorization in ASP.NET Core 5 and 6 Applications

Pro ASP.NET Core Identity: Under the Hood with Authentication and Authorization in ASP.NET Core 5 and 6 Applications

Adam Freeman

Publisher Resources

ISBN: 9781633439986Publisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link