The hotlink_protection utility serves to configure protection from hot-linking on domains. By using this utility, you can perform the following operations:
setting up hot-linking protection on a domain
retrieve the current configuration of domain hot-linking protection
The following command enables hotlinking protection on the domain example.com with the following parameters: protected content is image files with extensions JPG, JPEG, GIF, PNG, TIFF,
=======
/usr/local/psa/bin/hotlink_protection --update domain.com -protected-extensions 'jpg;jpeg;gif;png;tiff'
=======
Retrieve information about the domain:
==============================
/usr/local/psa/bin/hotlink_protection -i domain.com
=============================
Database updated.
mysql> select * from psa.hotlink_prot;
=======================================================================