How can I stop other websites displaying images directly from my hosting?

Ce contenu n'est disponible qu'en roumain et en anglais ; le texte anglais est affiché ci-dessous.

How can I stop other websites displaying images directly from my hosting?

You can limit this practice, known as hotlinking, with rules that check the HTTP Referer header on image requests. These rules can prevent other websites from embedding your images using your files’ direct URLs. The method has limitations: the header may be missing or forged.

Before applying the rules, identify the domains that should be allowed to display your images, including any subdomains you use. Then test your website’s pages, direct image access and legitimate services that use the images. Do not automatically block every request without a Referer header, as this can affect valid uses. Hotlink protection does not prevent people from downloading and republishing your images.

QUESTIONS SIMILAIRES

Voici quelques questions dont les réponses pourraient vous intéresser. Nous répondons aux questions importantes et pratiques de nos clients.

ABONNEZ-VOUS À LA NEWSLETTER

Abonnez-vous à notre newsletter. Nous l’utilisons uniquement pour les informations importantes.

Illustration abonnement à la newsletter