Secure Coding Practices in Java
Find and fix the vulnerabilities that still affect Java applications: SQL and command injection, cross-site scripting, path traversal, information leaks from error handling and logging, unsafe deserialization, XML external entities, insecure default configuration and vulnerable dependencies, with vulnerable and corrected code side by side.
- Intermediate level
- 4 modules
- 8 lessons
- 18 quiz questions
Syllabus
01Java's Security LandscapeWhat Java protects you from by design, what it does not, and a first look at spotting vulnerabilities in ordinary Java code.2 lessons
02Injection, XSS and Path Traversal in JavaFix SQL injection with prepared statements and safe JPA queries, prevent cross-site scripting with context-aware encoding, and stop command injection and path traversal.2 lessons
03Errors, Logging, Deserialization and XMLHandle errors without leaking information, log safely, avoid insecure deserialization, and configure XML parsers against XXE.2 lessons
04Secure Configuration and DependenciesAvoid insecure default configurations, manage dependencies, and follow Java secure coding standards.2 lessons