Knowledge Base

Blog

Technical write-ups focused on cybersecurity, software engineering, architecture, and practical tooling.

33 articles visible

ClamAV Wrapper: Build an Antivirus Scanning API banner

28/04/2025 · 14 min

ClamAV Wrapper: Build an Antivirus Scanning API

Build a Spring Boot API that scans uploaded files with ClamAV (clamd) before storage, with size validation, streaming scan, scheduled signature updates, and Docker deployment guidance.

#cybersecurity #spring-boot #api #clamav
open >
Understanding RESTful APIs: A guide with Spring Boot banner

13/03/2025 · 4 min

Understanding RESTful APIs: A guide with Spring Boot

RESTful APIs (Representational State Transfer) are a cornerstone of modern software development. They enable communication between applications over HTTP, offering a scalable and stateless architecture. Whether you're bui

#spring-boot #api
open >
How to implement key authentication in a Spring Boot API banner

06/03/2025 · 2 min

How to implement key authentication in a Spring Boot API

In modern API design, securing endpoints is a fundamental aspect of development. Using an API key in the header, such as "X-API-KEY," is a common practice for lightweight authentication. Here's how you can implement it in

#spring-boot #api
open >
How to implement caching in Spring Boot with caffeine banner

20/02/2025 · 4 min

How to implement caching in Spring Boot with caffeine

Caching is an essential optimization technique for improving the performance and responsiveness of an application. Spring Boot provides a simple way to integrate caching into your project, and by using Caffeine, you can l

#spring-boot
open >
Introduction to H2 database in Spring Boot banner

30/01/2025 · 5 min

Introduction to H2 database in Spring Boot

H2 is a fast, open-source, and lightweight database management system written in Java. It is particularly popular in development and testing environments due to its simplicity, small footprint, and the ability to run both

#spring-boot
open >
Understanding JPA projections in Spring Boot banner

29/01/2025 · 5 min

Understanding JPA projections in Spring Boot

In Spring Boot applications that use JPA (Java Persistence API), projections provide a powerful mechanism for retrieving only specific parts of an entity’s data. Instead of fetching the entire entity with all its fields,

#spring-boot
open >
Best practices for RESTful API design banner

27/01/2025 · 5 min

Best practices for RESTful API design

Learn best practices for designing RESTful APIs with Java Spring Boot, including correct use of HTTP methods, status codes, HATEOAS, pagination, and error handling.

#api #spring-boot
open >
Typosquatting attacks: What you need to know banner

15/01/2025 · 3 min

Typosquatting attacks: What you need to know

In the digital age, where online platforms are integral to daily life, cybersecurity threats are evolving at an alarming pace. One such threat is **typosquatting**, a cybercrime tactic that exploits human error to deceive

Understanding DTOs in Java Spring Boot banner

13/01/2025 · 3 min

Understanding DTOs in Java Spring Boot

In Java Spring Boot development, **DTO** (Data Transfer Object) is a common design pattern used to transfer data between different layers of an application. This pattern is especially useful in complex systems where entit

#spring-boot #java
open >
Guide to Lombok in Spring Boot with Maven banner

10/01/2025 · 3 min

Guide to Lombok in Spring Boot with Maven

When working with Java, you often encounter boilerplate code such as getters, setters, constructors, and equals/hashCode methods. Lombok is a powerful Java library that helps reduce this boilerplate code, making your code

#spring-boot
open >
Introduction to Maven in a Java Spring Boot project banner

08/01/2025 · 7 min

Introduction to Maven in a Java Spring Boot project

[Apache Maven](https://maven.apache.org/) is a powerful build automation and dependency management tool widely used in Java development. When working on a Spring Boot project, Maven simplifies project setup, dependency ma

#spring-boot #java
open >
Swagger: Simplifying API documentation banner

06/01/2025 · 3 min

Swagger: Simplifying API documentation

Swagger, is an essential tool for documenting, describing, and interacting with RESTful APIs. It provides a graphical user interface that simplifies the understanding of endpoints, parameters, responses, and schemas used

Understanding CORS and how to handle it in Spring Boot banner

30/12/2024 · 4 min

Understanding CORS and how to handle it in Spring Boot

Cross-Origin Resource Sharing (CORS) is a security feature implemented by web browsers to control how resources on a web page can be requested from another domain. While it is essential for protecting users from malicious

#spring-boot
open >
Exploring crt.sh: An essential resource for cybersecurity banner

28/12/2024 · 2 min

Exploring crt.sh: An essential resource for cybersecurity

Cybersecurity is constantly evolving, along with the tools that allow professionals to mitigate risks and protect their systems. Among these tools, crt.sh stands out as a powerful and free resource for exploring SSL/TLS c

#security #cybersecurity
open >
Securing RESTful APIs: Comprehensive Guide banner

26/12/2024 · 3 min

Securing RESTful APIs: Comprehensive Guide

In an increasingly interconnected digital world, RESTful APIs serve as the backbone of communication between systems. However, their openness also makes them a prime target for malicious actors. Securing a RESTful API is

Understanding common weakness enumeration (CWE) banner

26/12/2024 · 3 min

Understanding common weakness enumeration (CWE)

Common Weakness Enumeration (CWE) is a comprehensive repository of software weaknesses that provides a standardized taxonomy for developers, security analysts, and organizations. Developed and maintained by the [MITRE Cor

What is credential stuffing? banner

26/12/2024 · 3 min

What is credential stuffing?

In today’s interconnected digital landscape, credential stuffing has emerged as a prevalent cybersecurity threat. This form of cyberattack exploits the growing issue of password reuse, targeting both individuals and organ

Introduction to CI/CD in Software Development banner

23/12/2024 · 3 min

Introduction to CI/CD in Software Development

CI/CD practices streamline software development by automating integration, testing, and deployment, leading to faster cycles, improved code quality, reduced risks, and enhanced collaboration, ultimately delivering value to customers more efficiently.

#devops
open >
Primitive types and wrapper classes in Java banner

19/12/2024 · 4 min

Primitive types and wrapper classes in Java

Java is a statically typed programming language that supports both primitive data types and objects. While primitive types are fundamental to the language, their object equivalents—known as wrapper classes—are critical fo

#java
open >
Overview of data types in PostgreSQL banner

04/12/2024 · 5 min

Overview of data types in PostgreSQL

PostgreSQL is a powerful and extensible relational database management system (RDBMS). It supports a wide range of data types that allow precise modeling of diverse information. Below is a detailed overview of PostgreSQL

#postgresql
open >
Querying JSON in PostgreSQL banner

25/11/2024 · 4 min

Querying JSON in PostgreSQL

PostgreSQL is a powerful open-source relational database system that supports advanced data types, including **JSON** and **JSONB**. These types allow you to store and query semi-structured data efficiently, combining the

#postgresql
open >
Encryption with pgcrypto in PostgreSQL banner

21/11/2024 · 3 min

Encryption with pgcrypto in PostgreSQL

The `pgcrypto` module in PostgreSQL provides cryptographic functions for encrypting and decrypting data. It supports both symmetric encryption (using a single key) and public-key encryption (using a pair of keys). It's pa

#postgresql
open >