-
Notifications
You must be signed in to change notification settings - Fork 10k
[Stream] Adding origin restrictions for media transformations #22409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
6130f37
[Stream] Adding origin restrictions for media transformations
tsmith512 a063357
Update src/content/changelog/stream/2025-05-14-media-transformations-…
tsmith512 4f2ad71
Update src/content/changelog/stream/2025-05-14-media-transformations-…
tsmith512 1157a8d
Update src/content/changelog/stream/2025-05-14-media-transformations-…
tsmith512 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
...ntent/changelog/stream/2025-05-14-media-transformations-origin-restrictions.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| --- | ||
| title: Introducing Origin Restrictions for Media Transformations | ||
| description: > | ||
| Control which sources can be used for original media when requesting transformations. | ||
| date: 2025-05-14T12:00:00Z | ||
| --- | ||
|
|
||
| We are adding [source origin restrictions](/stream/transform-videos/sources/) to | ||
| the Media Transformations beta. This allows customers to restrict what sources | ||
| can be used to fetch images and video for transformations. This feature is the | ||
| same as --- and uses the same settings as --- | ||
| [Image Transformations sources](/images/transform-images/sources/). | ||
|
|
||
| When transformations is first enabled, this setting defaults to only allowing | ||
| transformations on images/media from the same website/domain being used to make | ||
tsmith512 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| the transformation request. In other words, by default, requests to | ||
| `example.com/cdn-cgi/media` can only reference originals on `example.com`. | ||
|
|
||
|  | ||
|
|
||
| Adding access to other sources, or allowing any source, | ||
| [is easy to do](https://developers.cloudflare.com/images/transform-images/sources/) | ||
tsmith512 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| in the **Transformations** tab under **Stream**. Click each domain enabled for | ||
| Transformations and set its sources list to match the needs of your content. The | ||
| user making this change will need permission to edit zone settings. | ||
|
|
||
| For more information, learn about [Transforming Videos](/stream/transform-videos/). | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.