Tagged articles
anti-hotlinking
22 articles · Page 1 of 1
An in‑depth comparison of anti‑hotlinking techniques shows how Nginx can enforce protection with a single directive in milliseconds, while SpringBoot offers five approaches—Filter, Interceptor, Nginx config, signed URL, and hybrid strategy—each with different performance, security, and maintenance trade‑offs.
InterceptorSecuritySigned URL
0 likes · 14 min read

This article consolidates practical solutions for configuring Nginx to serve high‑performance static websites, covering cache control, gzip compression, cross‑origin resource sharing, and anti‑hotlinking techniques, complete with code examples and detailed explanations of underlying principles.
BackendCORSCaching
0 likes · 11 min read

This article explains how to configure Nginx for high‑performance static sites by setting up effective browser caching, enabling gzip compression, handling CORS headers, and preventing hotlinking, complete with code examples, header details, and step‑by‑step principles.
CORSGZIPWeb Performance
0 likes · 12 min read

A personal case study shows how a sudden surge of malicious bot traffic exhausted CDN bandwidth, how enabling referer‑based anti‑hotlinking blocked the attack, and how a local Nginx + Proxifier setup restored image access for the author’s notes.
Attack MitigationCDNSecurity
0 likes · 7 min read

The HTTP Referer header, despite its historic misspelling, is a crucial tool for tracking traffic sources, preventing hotlinking, defending against CSRF attacks, and managing privacy through Referrer‑Policy, with practical configuration examples for servers and HTML.
CSRFReferrer-Policyanti-hotlinking
0 likes · 7 min read

This article explains how to prevent image hotlinking in a Spring Boot application by creating a simple interceptor with hard‑coded settings and then extending it to a flexible, configuration‑driven solution using application.yml and a properties‑mapping class.
BackendConfigurationImage Protection
0 likes · 8 min read

This article explains how to configure Nginx for high‑performance static websites by setting up proper caching, gzip compression, cross‑origin resource sharing and anti‑hotlinking rules, and also includes a brief promotional segment for AI‑related products and services.
CORSCachingWeb Performance
0 likes · 11 min read

This guide consolidates practical Nginx configurations for static sites, covering cache control with Expires and Cache‑Control headers, gzip compression settings, cross‑origin resource sharing rules, and referer‑based anti‑hotlinking techniques, each illustrated with real‑world examples and command snippets.
CORSCachingGZIP
0 likes · 9 min read

Hotlinking attacks steal popular media by fetching resources from major platforms, but developers can protect assets using anti-leech methods such as Nginx referer checks, SpringBoot filters, token validation, timestamp verification, and graphical captchas, each with strengths and limitations against forged requests.
CAPTCHASpringBootanti-hotlinking
0 likes · 7 min read

This article explains how to configure Nginx to serve static sites efficiently by setting up proper caching rules, enabling Gzip compression, handling cross‑origin resource sharing and anti‑hotlinking, while also providing sample configuration snippets and a brief note on related promotional offers.
Server configurationanti-hotlinking
0 likes · 12 min read

This article explains how to configure Nginx for a high‑performance static website by setting up proper caching headers, enabling gzip compression, configuring cross‑origin resource sharing, and implementing hotlink protection, with detailed code examples and explanations of the underlying principles.
CORSCachingServer configuration
0 likes · 8 min read

This article explains how to configure Nginx for a high‑performance static website by setting up proper caching rules, enabling gzip compression, configuring cross‑origin resource sharing and preventing hotlinking, and includes practical code examples and detailed explanations of the underlying mechanisms.
Cacheanti-hotlinking
0 likes · 11 min read

This article explains how to configure Nginx for static sites by setting up caching policies, gzip compression, cross‑origin resource sharing, and anti‑hotlinking rules, while also providing practical code examples and discussing the underlying HTTP cache mechanisms.
Web Performanceanti-hotlinkingbackend development
0 likes · 12 min read

This article explains how to configure Nginx for high‑performance static sites by setting up proper caching rules, enabling gzip compression, handling cross‑origin requests, and preventing hotlinking, complete with practical code examples and detailed workflow analysis.
Web Performanceanti-hotlinking
0 likes · 11 min read

This article demonstrates how to implement image anti-hotlinking in a Spring Boot application by creating a configurable interceptor, registering it, and providing flexible YAML settings, while discussing limitations such as referer spoofing and potential false positives.
Image ProtectionInterceptorJava
0 likes · 8 min read

This guide walks through installing Nginx on CentOS, configuring DNS across three servers, hardening the web server by hiding version information, setting up log rotation, tuning keep‑alive connections, and implementing anti‑hotlinking rules to protect site assets, complete with command‑line examples.
anti-hotlinkingserver-optimizationsysadmin
0 likes · 14 min read

This article provides a step‑by‑step tutorial on configuring Nginx rewrite rules, implementing anti‑hotlinking protection, separating static and dynamic resources, and building a high‑availability architecture using Keepalived with detailed code examples and deployment instructions.
ConfigurationKeepalivedanti-hotlinking
0 likes · 23 min read

This guide explains Nginx rewrite syntax and flags, provides practical rewrite examples, demonstrates how to configure anti‑hotlinking, outlines static‑dynamic resource separation with caching, and shows step‑by‑step installation and configuration of Keepalived for high‑availability Nginx clusters, including required scripts and host settings.
High AvailabilityKeepalivedanti-hotlinking
0 likes · 27 min read

This guide explains why Gitee's new anti‑hotlinking measures break image links in blogs and provides a step‑by‑step tutorial for migrating those images to cloud servers using the PicGo plugin, ensuring your articles remain accessible and backed up locally.
GiteePicGoanti-hotlinking
0 likes · 3 min read

This article provides a comprehensive step‑by‑step guide on configuring Nginx rewrite rules, implementing anti‑hotlink protection, separating static and dynamic resources, and setting up Keepalived for high‑availability load balancing, complete with example configurations and shell scripts.
Keepalivedanti-hotlinkinghigh-availability
0 likes · 21 min read

This article provides a step‑by‑step tutorial on configuring Nginx rewrite rules, implementing anti‑hotlinking protection, separating static and dynamic resources, and setting up Keepalived for high‑availability, complete with detailed code examples and deployment instructions.
Keepalivedanti-hotlinkingload-balancing
0 likes · 22 min read

This guide explains HTTPS and SSL fundamentals, shows how to generate certificates with OpenSSL, configures Nginx for secure HTTPS, details the rewrite module including break, if, return, and set directives, demonstrates read‑write separation using WebDAV, and provides anti‑hotlinking techniques with valid_referers.
HTTPSSSLServer configuration
0 likes · 16 min read
