I would like to make back end with Spring Boot for simple web application where people register and then can either post posts or comment on post. How can I make it secure with Spring Boot? Do I somehow store sessions based on user data and then with each request check whether that session is valid?
If you are familiar with React, how can I handle security on front end? I wonder if I store session as a cookie whether it can be hacked.