enable_hotlink_protection
Protect cPanel-hosted files from unauthorized hotlinking by allowing specified referrer URLs and file extensions, with an optional redirect for blocked requests.
Instructions
Enable hotlink protection
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | Comma-separated list of allowed referrer URLs | |
| extensions | No | Comma-separated file extensions to protect | jpg,jpeg,gif,png,bmp,svg |
| redirect_url | No | URL to redirect blocked requests to |