All modules

Module 15 · Build

File Handling

Accept uploads without risking memory or security, validate what users send, and store files durably behind controlled access.

Intermediate2 chapters65 minutesPrerequisite: Spring MVC, validation, and security
Start module

Chapter plan

What you will complete

Module outcome

Ship an upload feature that bounds memory, blocks malicious files, and keeps private files private.

Mental model

An upload is untrusted input that happens to be large: validate content, stream bytes, and never serve user paths directly.

Module checkpoint

Task attachments

Attach validated documents to tasks with size limits and access control.

  • Oversized and wrong-type uploads rejected cleanly
  • Files streamed without heap spikes
  • Private files unreachable without authorization

Final module assessment

Ready to prove mastery?

Complete all 50 questions after finishing the module lessons and checkpoint.

Take module quiz