Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Image Domain Filter

Security covered Maintenance fixes only 1 sites

This module restricts images used in text fields to a list of trusted domains, enhancing security by preventing users from embedding images from untrusted sources. It is particularly useful for sites that host user-uploaded files offsite, such as on CDNs or cloud storage.

This module provides a Restrict images to trusted sites filter which allows
administrators to provide a list of allowed hosts/domains for hosting images
used in text fields.

For security purposes, it's best to avoid letting users insert images from untrusted hosts. Drupal core provides a Restrict images to this site filter to provide security
for user-uploaded images in text fields. Unfortunately this is incompatible with
sites that hosts user-loaded files offsite. This module fills a need by allowing sites that host user-uploaded images offsite (CDN, S3/Cloudflare, etc) to restrict image URLs to trusted hosts.

Ask your assistant about Image Domain Filter

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Oct 2024
Latest release
4 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0-rc3 Pre-release 10–11 Jun 17, 2026
1.0.0-rc2 Pre-release 10–11 Jun 11, 2026
1.0.0-rc1 Pre-release 9–10 Oct 9, 2024