Tag: Security
-
Solve the CORS error with Spring Security

In this article I explain how to configure the CORS allowed frontend in a Spring Boot application when using Spring Security.
-
How I Solved 20 Vulnerabilities in Less Than An Hour

In this article I describe the steps I’ve followed to solve more than 20 vulnerabilities of a project in less than an hour. I show all the steps to follow from finding the problem to deploying the solution to the production environment.
-
Authenticate Your Angular Application with JWT

In this article, I create an Angular application protected by JWT. I create a public component, private component and login component to show the different usages of each one. I use the JWT with the requests to my backend in the HTTP headers.
-
Protect your Spring Boot application with JWT

The article provides a comprehensive guide on how to protect a Spring Boot application using JWT and Spring Security. It offers a detailed explanation on various aspects, including adding dependencies, encoding passwords, creating login endpoints, JWT HTTP filtering, and configuring Spring Security. It also emphasizes the importance of having protected routes and a HTTP filter…
-
How to connect to a PostgreSQL database through a SSH tunnel

When working with a remote database, it’s infrequent to have it accessible through the Internet. When accessing a database of a project, I use to go through another machine, through a bastion host.
-
Which Authentication System to Choose?

Choose the right authentication system without compromising the security. This may be a hard topic to handle on every project.
-
A Password Management Tool, Keepass

How Many Passwords Do You Manage Every Day? I only have to remember 1 password to manage my hundreds of accounts. I store all them in a password management tool, such as Keepass, KeepassX or KeepassXC.
-
3 Ways to Invalidate a Jwt Token in the Backend Side

The JWT is the most used authentication system. Still, what happens with the logout? Here are 3 solutions to invalidate a token in the backend.
-
How to SECURE My Microservices Architecture (REACTJS + SPRING CLOUD GATEWAY) With Keycloak

In this article I show how to connect a React application to a Spring Cloud Gateway backend using Keycloak as an Authorization Server.
-
Spring Security 6 with JWT Authentication

Let’s see how to use Spring Security 6 with JWT Authentication. I will do it using the Web Filters to handle JWT requests and credentials requests.
