Week 10

Security Mindset

Threat Modeling Basics

Common Backend Vulnerabilities

Handling Sensitive Data

Hashing vs. Encryption

How to Store Passwords

Authentication & Authorization

Spring Security

Spring Security JWT authentication

Practice

Assignment

Backend Track

Week 10 Assignment

Task 1 - Build a simple authentication system

In this task, you will implement a simple yet robust authentication system using Spring Security. Apply the best practices from this week's content and combine them together.

Requirements

Note: /register and /login are public endpoints. /logout and /profile are protected and require a valid token.

Guidelines

Starter project

We have set up a simple project for you with controllers, services and a repository. Feel free to change any code.

Submission

Follow the Assignment submission guide to submit


The HackYourFuture curriculum is licensed under CC BY-NC-SA 4.0 *https://hackyourfuture.net/*

CC BY-NC-SA 4.0 Icons

Built with ❤️ by the HackYourFuture community · Thank you, contributors

Found a mistake or have a suggestion? Let us know in the feedback form.