• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue hotlinking protection not working

kapil soni

New Pleskian
Hello Dear Team,

I am using

Plesk Onyx v17.5.3_build1705170317.16 os_CentOS 7 / CentOS Linux 7.3.1611

I googled and tried almost all the methods (htaccess and NGINX) to protect my files from hotlinking but No matter what I tried to setup.. it's not working.

I tried this also : Resolved - can't find hotlink protection option plesk 12.5.30

but unable to succeed.

can anyone please help me how to enable hotlink protection with plest latest.

Thanks for your kind support
Best Regards
Kapil
 
Hi kapil soni,

if found an external blog article, which might help you to understand and setup "Hotlink protection" on servers using nginx.

=> nginx - Image hotlink protection using rewrite - nikhil's blog ( external link, pls. inform me over a private message, if the link goes dead, so I may provide another working link! )

Hello @UFHH01,

Thank you for your help,

I applied the said settings to my.. Domain >> Apache & nginx Settings >> Additional nginx directives

But still it's not protecting my images. seems it's not working or am I doing something wrong? where the setting I applied is correct?

Kindly guide.

Thanks
Best Regards
Kapil
 
Back
Top