---
title: Prevent hotlinking of product images by third-party websites
summary: Detect and reject requests from third-party websites that attempt to embed your images on their pages.
url: https://www.fastly.com/documentation/solutions/examples/hot-linking-protection
---

Detect and reject requests from third-party websites that attempt to embed your images on their pages.

## VCL

[Try it in Fastly Fiddle](https://fiddle.fastly.dev/fb2cc9fc)

## Compute

### Rust

[Try it in Fastly Fiddle](https://fiddle.fastly.dev/0ba14b15)

### Javascript

[Try it in Fastly Fiddle](https://fiddle.fastly.dev/2961d176)

### Go

[Try it in Fastly Fiddle](https://fiddle.fastly.dev/44fec5ba)

