Prevent Website Attacks

Secure Failing Code

This project is part of the liveProject series Develop Secure Java Applications to Prevent Website Attacks.
beginner Java
skills learned
creating catch statements to securely handle exceptions • designing applications that maintain state on failure • developing software which can recover from an unstable state
Philip Kulp
1 week · 4-6 hours per week · BEGINNER

placing your order...

Don't refresh or navigate away from the page.
try it! first milestone FREE
liveProject liveProjects give you the opportunity to learn new skills by completing real-world challenges in your local development environment. These self-paced projects also come with full liveBook access to select books for 90 days plus permanent access to other select Manning products. $19.99 $29.99 you save: $10 (33%) self-paced learning
FREE domestic shipping on orders of three or more print books
Secure Failing Code (liveProject) added to cart
continue shopping
go to cart

Look inside
In this liveProject, you’ll learn how to defend against attacks that could force a failure in your application or cause it to enter an unstable state. Unexpected behaviors and fail states can allow an attacker to steal information or provide information for a secondary attack. You’ll create catch statements and methods that can securely handle exceptions, design code that can maintain state on failure, and learn to avoid unstable system states altogether.
This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

Philip Kulp
Dr. Philip Kulp has been consulting in cybersecurity for over 20 years, and working in IT for over 25 years. He currently works as a cybersecurity architect and incident responder, developing realistic approaches to securing enterprise. He also serves as a secure code reviewer, independent assessor, web application tester, and as an adjunct professor at Drexel University. He is an author and conference speaker on various cyber topics such as medical drone delivery, identifying malicious websites based on linking, and more.


This liveProject is designed to be accessible to Java programmers of all skill levels. To begin this liveProject you will need to be familiar with:

  • Experience with either Eclipse IDE or IntelliJ IDEA

you will learn

In this liveProject, you’ll learn secure coding techniques that you can apply to future code you write or review.

  • Creating catch statements to securely handle exceptions
  • RegEx and other string filtering
  • Designing applications that maintain state on failure
  • Handling exceptions which can make applications unstable
  • Developing software which can recover from an unstable state


You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.