Hotlink protection in Plesk
Hotlinking is when another site embeds your images or files with a direct link. Visitors view them on that site, but your hosting serves the files. Hotlink Protection blocks such links for the selected file types.
Where to find it: the domain card, the Dashboard tab, the Security group, Hotlink Protection.
How to enable it
- Check Enable hotlink protection.
- Review Protected files extensions. By default it lists image types: bmp, gif, jpg, jpeg, png, webp, svg and others. You can add your own, such as mp4 or pdf, separated by spaces.
- In Addresses of friendly websites, add the sites allowed to display your files. Add one more adds another line.
- Click Save.

Add every address of your own site to the friendly websites: with and without www, subdomains and domain aliases. Otherwise images may stop showing on your own site.
Testing
Open a page of your site — images must display. Then embed an image link on another site or in an online editor: it must not load.
Common mistakes
- Images disappeared on your own site — one of the site addresses (www, subdomain, alias) or the CDN address is missing.
- Link previews in social networks and messengers do not show — those services also count as other sites. If previews matter, add them as friendly sites or do not protect jpg/png.
- Protection seems not to work for old links in the browser cache — test in a private window.