Often web frameworks will handle security for you, leaving you with only configuration choices.
They implicitly make you avoid stuff like sql injection, XSS, CSRF, IDOR, etc.
You should have TLS/SSL, robust authn and authz, security headers in http methods, safe deserialization, etc
For example Spring Boot is one such framework provided you stay up to date with the latest versions to avoid newly discovered CVEs.
This post was edited by moutonguerrier on Nov 10 2024 07:16am