- Lab
- Security

Secure Error Handling for Java Applications
In this lab, you’ll practice and develop skills to implement secure coding techniques in an application. When you’re finished, you’ll have the necessary knowledge and skills to securely implement error handling and logging.

Path Info
Table of Contents
-
Challenge
Getting Started in the Lab Environment
Here are the initial instructions and explanation of the lab environment. Read this while your environment is busy creating itself from nothing. Yes, this violates physics; we know. How fun!
-
Challenge
User-Friendly Error Messages vs. Developer Messages
This challenge will help you understand how sensitive application information can be leaked to unauthorized users, and you will learn how to reduce that risk through proper management of error messages.
-
Challenge
Prevent Logging Sensitive Data
In this challenge, you will identify data types and apply safe logging practices to protect user information.
-
Challenge
Low Dependency Applications: Creating Custom Error Messages and Handling
In this challenge, you'll explore custom error messages and error handling in a low-dependency Java application.
-
Challenge
High Dependency Applications: Creating Custom Error Messages and Handling
In this challenge, you’ll explore custom error messages and custom handling in a high-dependency Java application.
-
Challenge
Knowledge Check for Secure Error Handling for Java Applications
In this challenge, you will answer a series of assessment questions to test your understanding of the concepts you learned throughout this lab.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.