Skip to content

Commit 6130f37

Browse files
committed
[Stream] Adding origin restrictions for media transformations
1 parent aab964c commit 6130f37

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: Introducing Origin Restrictions for Media Transformations
3+
description: >
4+
Control which sources can be used for original media when requesting transformations.
5+
date: 2025-05-14T12:00:00Z
6+
---
7+
8+
We are adding [source origin restrictions](/stream/transform-videos/sources/) to
9+
the Media Transformations beta. This allows customers to restrict what sources
10+
can be used to fetch images and video for transformations. This feature is the
11+
same as --- and uses the same settings as ---
12+
[Image Transformations sources](/images/transform-images/sources/).
13+
14+
When transformations is first enabled, this setting defaults to only allowing
15+
transformations on images/media from the same website/domain being used to make
16+
the transformation request. In other words, by default, requests to
17+
`example.com/cdn-cgi/media` can only reference originals on `example.com`.
18+
19+
![Enable allowed origins from the Cloudflare dashboard](~/assets/images/images/allowed-origins.png)
20+
21+
Adding access to other sources, or allowing any source,
22+
[is easy to do](https://developers.cloudflare.com/images/transform-images/sources/)
23+
in the **Transformations** tab under **Stream**. Click each domain enabled for
24+
Transformations and set its sources list to match the needs of your content. The
25+
user making this change will need permission to edit zone settings.
26+
27+
For more information, learn about [Transforming Videos](/stream/transform-videos/).

0 commit comments

Comments
 (0)