Allow site iframing
1,076 sites
Security covered
This module allows your Drupal site to be embedded within iframes, overriding Drupal's default security setting that prevents this. You can configure specific paths to either allow or deny iframe embedding.
Summary
Drupal 8+ has a feature built into core that stops the site from being rendered within an iframe, there are good reasons for this - https://www.drupal.org/node/2514136
But sometimes you want your site in an iframe, so that's what this module does, based on configured paths (whitelist / blacklist).
Requirements
- None beyond core
Configuration
- /admin/config/system/allow_iframed_site Enter paths you want to allow or deny iFrames access to.
Similar modules
- https://www.drupal.org/project/x_frame_options
- https://www.drupal.org/project/seckit
- https://www.drupal.org/project/http_response_headers
In contrast to this module, they are typically not path-based, but provide further functionalities. That's the main difference.