Configuring HTTPS in JeecgBoot Application

SSL Certifictae Setup JeecgBoot uses a custom configuration for TomcatServletWebServerFactory, which requires specific handling when enabling HTTPS. This guide covers the complete setup process. First, place your SSL certificate (JKS format) into the src/main/resources directory. Application Configuration Add the SSL certificate configuration t ...

Posted on Wed, 21 Oct 2026 16:05:48 +0000 by lorne17

Building a Custom Slider CAPTCHA with Spring Boot

The task was to implement a slider-based CAPTCHA for a web application, requiring access from both browser clients and mobile app developers. After evaluating existing libraries, many were either abandoned, overly complex, or lacked clear backend implementaitons. The solution described here follows a straightforward contract: the server supplie ...

Posted on Mon, 19 Oct 2026 16:43:39 +0000 by Hitwalker

Implementing Secure Password Storage in Java User Systems

A basic user management system in Python with plain-text password storage evolves into a more secure implementation using SHA-256 hashing. Below is the initial structure in Python, followed by a Java equivalent with enhanced security. # Initial Python implementation with plain-text passwords class User: def __init__(self, name, password): ...

Posted on Sun, 18 Oct 2026 16:22:01 +0000 by hannah415

Configuring Cross-Origin Resource Sharing (CORS) Correctly

Cross-Origin Resource Sharing (CORS) enforces security policies that restrict which origins may access resources on a server. Proper configuration is essential to allow legitimate cross-origin interactions while preventing unauthorized access. CORS Activation Scenarios A request triggers CORS processing when it crosses origins and meets certain ...

Posted on Sat, 17 Oct 2026 16:52:39 +0000 by Bijan

Android Permissions Explained

Android permissions exist to safeguard user privacy and restrict apps from accessing sensitive data or performing risky system operations without approval. Apps must explicitly declare required permissions using <uses-permission> tags in their AndroidManifest.xml. For example, an app needing to send SMS messages would include: <manifes ...

Posted on Fri, 16 Oct 2026 16:38:35 +0000 by spramod

Generating Random CAPTCHA Images with Python

Introduciton When developing user authentication systems, implementing a CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) is an effective security measure. This article demonstrates how to create random CAPTCHA images with accompanying text using Python's Pillow library. Required Modules Before implementing t ...

Posted on Fri, 16 Oct 2026 16:11:29 +0000 by theonlydrayk

Implementing SSH Key Authentication for Secure Linux Server Access

Generating SSH Key Pairs on the Source Server To begin the key-based authentication process, generate a cryptographic key pair on the source machine. The default storage location will be /root/.ssh: # ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Created directory '/root/.ssh' ...

Posted on Fri, 09 Oct 2026 16:10:17 +0000 by sidney

Strategies to Mitigate Redis Cache Penetration

Understanding Redis Cache Penetration Cache penetration occurs when a high volume of requests target data that is not present in the cache. When a cache lookup fails (a cache miss), the request typically proceeds to query the underlying database. The risk emerges when numerous concurrent requests simultaneously seek non-existent data. Since the ...

Posted on Mon, 05 Oct 2026 16:12:44 +0000 by gezeala

Amazon Web Services Core Infrastructure and Security Reference

Essential AWS ResourcesAWS operations are fundamentally driven by APIs, accessible via the Management Console, Command Line Interface (CLI), or Software Development Kits (SDKs). Key references include the official documentation, CLI command reference, and SDK APIs for languages like Python (Boto3) and Java.Security and Access ManagementIdentity ...

Posted on Mon, 05 Oct 2026 16:12:00 +0000 by bradcis

Implementing Robust Security Patterns for Eureka-Based Service Mesh Architectures

Securing Service Mesh Architectures with Eureka Maintaining system integrity within a distributed microservices environment requires a rigorous approach to network security. The service mesh layer acts as the critical infrastructure for managing service-to-service traffic, enforcing policies that prevent unauthorized access and data breaches. A ...

Posted on Sun, 04 Oct 2026 16:36:23 +0000 by php_jord