You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means that a user limited to slow.example.com can change the download host to fast.example.com and download from the better mirror.
Solution
To solve this, NginxSecureLinkMd5Decorator needs to support the NGINX $host variable. Having this variable in the expression will lock down the secure link to the specific download host.
The text was updated successfully, but these errors were encountered:
This request came from @mostym.
This is an enhancement to #3075.
Problem
If there are two download mirrors,
slow.example.com
andfast.example.com
, hotlink protection using an NGINXsecure_link_md5
expression in the Downloads plugin cannot distinguish between these hostnames.This means that a user limited to
slow.example.com
can change the download host tofast.example.com
and download from the better mirror.Solution
To solve this,
NginxSecureLinkMd5Decorator
needs to support the NGINX$host
variable. Having this variable in the expression will lock down the secure link to the specific download host.The text was updated successfully, but these errors were encountered: