Tag

IP blocking

0 views collected around this technical thread.

Architect's Guide
Architect's Guide
Jun 5, 2024 · Information Security

How to Block Foreign IP Addresses in Nginx Using the ngx_http_geoip2 Module

This guide explains step‑by‑step how to install the GeoIP2 library, compile Nginx with the ngx_http_geoip2 module, download the MaxMind GeoLite2 database, configure Nginx to map country codes, and block non‑Chinese visitors by returning a 404 response.

GeoIP2IP blockingLinux
0 likes · 8 min read
How to Block Foreign IP Addresses in Nginx Using the ngx_http_geoip2 Module
Top Architect
Top Architect
Jan 3, 2023 · Backend Development

Automatically Blocking IPs with Nginx Using AWK, Shell Scripts, and Crontab

This guide explains how to create an Nginx block file, use AWK to identify IPs that exceed 60 requests per minute, write a shell script to generate deny rules, and schedule the script with crontab to automatically block abusive IPs and return a 403 response.

BackendIP blockingNginx
0 likes · 5 min read
Automatically Blocking IPs with Nginx Using AWK, Shell Scripts, and Crontab
Java Architect Essentials
Java Architect Essentials
Aug 22, 2022 · Operations

Blocking Foreign IP Access with Nginx Using the ngx_http_geoip2 Module

This tutorial explains how to install the ngx_http_geoip2 module, upgrade Nginx to version 1.18, configure GeoIP2 databases, and modify the Nginx configuration to automatically reject requests from foreign IP addresses, complete with command‑line examples and verification steps.

GeoIP2IP blockingLinux
0 likes · 8 min read
Blocking Foreign IP Access with Nginx Using the ngx_http_geoip2 Module
Architecture Digest
Architecture Digest
Jun 8, 2022 · Backend Development

Blocking Foreign IP Access with Nginx Using the ngx_http_geoip2 Module

This tutorial explains how to prevent overseas IP addresses from reaching a website by installing the libmaxminddb-devel dependency, adding the ngx_http_geoip2 module to Nginx, upgrading to Nginx 1.18, configuring GeoIP2 database paths, mapping country codes, and returning a 404 response for foreign requests.

BackendGeoIP2IP blocking
0 likes · 7 min read
Blocking Foreign IP Access with Nginx Using the ngx_http_geoip2 Module
Architecture Digest
Architecture Digest
Nov 15, 2021 · Information Security

Security Considerations for Designing Login Interfaces

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.

Brute ForceHTTPSIP blocking
0 likes · 10 min read
Security Considerations for Designing Login Interfaces
Laravel Tech Community
Laravel Tech Community
Jul 2, 2021 · Operations

Blocking Foreign IP Access in Nginx with the ngx_http_geoip2 Module

This guide explains how to install the ngx_http_geoip2 module, upgrade Nginx, configure GeoIP2 databases, and modify the Nginx configuration to block requests from foreign IP addresses, providing step‑by‑step commands and example code for a Linux server.

GeoIP2IP blockingLinux
0 likes · 8 min read
Blocking Foreign IP Access in Nginx with the ngx_http_geoip2 Module
Java Captain
Java Captain
May 4, 2021 · Information Security

Security Risks and Mitigation Strategies for Login Interfaces

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.

Brute ForceHTTPSIP blocking
0 likes · 10 min read
Security Risks and Mitigation Strategies for Login Interfaces
Python Programming Learning Circle
Python Programming Learning Circle
Apr 8, 2021 · Information Security

Multiple Anti‑Crawling Measures and Best Practices for Web Scraping

The article outlines several anti‑crawling techniques—including IP restrictions, User‑Agent validation, CAPTCHAs, AJAX loading, noscript tags, and cookie checks—while also offering practical advice for writing ethical, efficient, and robust web crawlers.

IP blockingWeb Securityanti-crawling
0 likes · 6 min read
Multiple Anti‑Crawling Measures and Best Practices for Web Scraping
Laravel Tech Community
Laravel Tech Community
Jan 29, 2021 · Backend Development

Implementing IP Blocking and Login Attempt Limiting in Backend Applications

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
Implementing IP Blocking and Login Attempt Limiting in Backend Applications
Top Architect
Top Architect
Dec 19, 2020 · Information Security

Designing Secure Login Interfaces: Risks and Countermeasures

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.

Brute ForceHTTPSIP blocking
0 likes · 11 min read
Designing Secure Login Interfaces: Risks and Countermeasures