Tagged articles
Login Security
22 articles · Page 1 of 1
This article details a complete Java implementation of login risk control, covering rule-based risk scoring, device fingerprinting, impossible travel detection, adaptive multi-factor authentication, and a two-phase login API that dynamically adjusts security friction based on real-time risk signals like new devices, geo-anomalies, and recent security events.
Adaptive MFABrute Force ProtectionDevice Fingerprinting
0 likes · 26 min read

This tutorial demonstrates implementing login attempt limiting using Spring Boot, Redis, and Lua scripts to block IP addresses after three failed password attempts, with automatic lockout expiration.
AOPJavaLogin Security
0 likes · 20 min read

This article explains common security risks in login interfaces—such as brute‑force attacks, MITM interception, and credential enumeration—and provides practical defenses including captcha, rate limiting, IP blocking, mobile verification, HTTPS encryption, and additional logging measures.
Brute Force ProtectionCAPTCHAHTTPS
0 likes · 10 min read

This article explains common security risks of login interfaces such as brute‑force attacks, CAPTCHA bypass, IP‑based rate limiting, mobile verification, and man‑in‑the‑middle threats, and provides practical mitigation techniques including code examples, HTTPS adoption, and additional hardening measures.
Brute Force ProtectionCAPTCHAHTTPS
0 likes · 13 min read

This article explains common security risks in login interfaces—such as brute‑force attacks, captcha bypass, account and IP lockouts, man‑in‑the‑middle threats—and provides practical mitigation techniques like password attempt limits, captcha, phone verification, HTTPS, and comprehensive logging.
Brute Force ProtectionCAPTCHAHTTPS
0 likes · 9 min read

This article examines common login security risks such as brute‑force attacks, captcha bypass, IP blocking, and man‑in‑the‑middle threats, and proposes layered defenses including password‑retry limits, captcha, phone verification, HTTPS, and encrypted payloads to significantly raise the attack cost.
Brute Force ProtectionCAPTCHAHTTPS
0 likes · 10 min read

This article explains the workflow of mobile SMS verification login, outlines its main security risks such as code leakage, SMS bombing, and replay attacks, and provides practical mitigation strategies for developers and platform operators to protect user accounts.
AuthenticationLogin SecuritySMS Verification
0 likes · 6 min read

This guide explains how to replace traditional session‑based captcha authentication with a Redis‑backed, token‑driven solution using the high‑performance PHP Webman framework and the tinywan/captcha plugin, covering architecture, generation and verification flows, installation steps, and code examples.
CAPTCHALogin SecurityPHP
0 likes · 8 min read

This article introduces the lightweight Lua scripting language, outlines its key features and typical use cases, and provides a complete example of using Redis together with Lua scripts (and a Java client) to enforce IP‑based login‑attempt limits for improved security.
IP rate limitingJavaJedis
0 likes · 13 min read

Learn practical methods to identify users who exceed three failed login attempts within ten seconds, covering both a MySQL log‑table approach with window functions and a Redis‑based solution with key expiration, plus discussion of performance trade‑offs and atomicity considerations.
Brute Force ProtectionLogin SecurityMySQL
0 likes · 5 min read

This article explains common login security risks such as brute‑force cracking, CAPTCHA bypass, IP‑based blocking, man‑in‑the‑middle attacks, and shows practical countermeasures like captcha enforcement, login throttling, phone verification, HTTPS adoption, and data encryption.
CAPTCHAHTTPSLogin Security
0 likes · 10 min read

This article examines common login vulnerabilities such as brute‑force attacks, CAPTCHA bypass, IP‑based lockouts, and man‑in‑the‑middle threats, and provides practical mitigation techniques—including password‑retry limits, CAPTCHA, SMS verification, HTTPS enforcement, and logging—to harden web authentication systems.
CAPTCHAHTTPSIP blocking
0 likes · 11 min read

This article explains three PHP‑based techniques—captcha verification, encrypted parameter transmission, and dynamic token validation—to protect web login pages from automated crawling and credential‑stealing attacks, while also noting their limitations and implementation details.
CAPTCHADynamic TokenLogin Security
0 likes · 6 min read

This article examines common security risks such as brute‑force attacks, CAPTCHA bypass, login throttling, IP blocking, man‑in‑the‑middle threats, and outlines practical mitigation techniques including CAPTCHA, rate limiting, IP restrictions, mobile verification, HTTPS enforcement, and data encryption to harden web login functionality.
CAPTCHAHTTPSIP blocking
0 likes · 10 min read

Designing a login interface requires not only functional implementation but also comprehensive security measures such as protecting against brute‑force attacks, implementing captchas, login throttling, IP restrictions, mobile verification, and mitigating man‑in‑the‑middle threats, while balancing usability and system robustness.
CAPTCHAHTTPSIP restriction
0 likes · 10 min read

This article examines common security flaws in basic HTML login forms, demonstrates how plaintext passwords can be intercepted over HTTP, evaluates symmetric and asymmetric encryption, discusses the limitations of HTTPS, and proposes practical safeguards such as MD5 hashing, token-based authentication, captchas, and digital signatures to protect user credentials.
HTTPSLogin SecurityMD5
0 likes · 14 min read

This article explains practical security measures for login interfaces, covering brute‑force attacks, captcha integration, IP throttling, mobile verification, man‑in‑the‑middle protection with HTTPS, and additional best‑practice recommendations to harden web back‑end authentication.
Brute Force ProtectionCAPTCHAHTTPS
0 likes · 10 min read

This article examines common security threats to login APIs such as brute‑force attacks, CAPTCHA bypass, IP blocking, and man‑in‑the‑middle attacks, and presents practical mitigation techniques including rate limiting, captcha, phone verification, HTTPS, and encrypted transmission to harden authentication systems.
CAPTCHAHTTPSIP blocking
0 likes · 10 min read

This article explains how to record login failures, lock accounts after multiple errors, block client IPs based on IP ranges, and limit login attempts using server variables, database checks, and PHP session handling, providing complete code examples for each technique.
BackendCode ExampleIP blocking
0 likes · 5 min read

This article examines common security threats to login APIs such as brute‑force attacks, man‑in‑the‑middle interception, and credential enumeration, and presents practical countermeasures including captchas, IP and account lockout, mobile verification, HTTPS enforcement, and comprehensive logging to harden authentication systems.
CAPTCHAHTTPSIP blocking
0 likes · 11 min read


ITPUBNov 15, 2020 · Backend Development
An in-depth case study shows how to refactor a Java e-commerce login module by adding IP-based and time-based security checks, identifying original code flaws, applying systematic extraction of utilities, simplifying nested loops, improving logging, and consolidating logic into a clean backend utility class.
JavaLogin Securitybackend development
0 likes · 7 min read


ITPUBNov 12, 2020 · Backend Development
This article walks through a real‑world Java code refactor that adds login IP and allowed‑time security checks to an e‑commerce platform, highlighting problems in the original implementation and detailing step‑by‑step improvements such as utility extraction, loop simplification, constant usage, and enhanced logging.
JavaLoggingLogin Security
0 likes · 7 min read
