# Discourse-Blöcke

**URL:** <https://meta.discourse.org/t/discourse-blocks/57193>\
**Category:** Plugin\
**Tags:** broken\
**Created:** [10. Februar 2017 um 08:02 UTC](https://meta.discourse.org/t/discourse-blocks/57193 "2017-02-10T08:02:55Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![jgujgu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jgujgu/32/64012_2.png) [@jgujgu](https://meta.discourse.org/u/jgujgu)\
**Post date:** [14. Februar 2017 um 15:11 UTC](https://meta.discourse.org/t/discourse-blocks/57193/6 "2017-02-14T15:11:35Z")

</div>

From what I know, the different options in iframe sandboxing can safely prevent a user from accessing information on your site.

Whitelisting both `allow-scripts` and `allow-same-origin` is probably the most dangerous thing to do, as it allows running javascript and access to the parent page. However, I have allowed only `allow-scripts` in my iframes.

> **[Play safely in sandboxed IFrames  |  Articles  |  web.dev](https://web.dev/articles/sandboxed-iframes)**

> <https://stackoverflow.com/questions/35208161/is-it-safe-to-have-sandbox-allow-scripts-allow-popups-allow-same-origin-on-if/35208356#35208356>

---

_[View the full topic](https://meta.discourse.org/t/discourse-blocks/57193)._
