# Getting an iframe in discourse

**URL:** https://meta.discourse.org/t/getting-an-iframe-in-discourse/44872
**Category:** Support
**Created:** [May 26, 2016, 8:44pm UTC](https://meta.discourse.org/t/getting-an-iframe-in-discourse/44872 "2016-05-26T20:44:44Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Teeigeryuh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/teeigeryuh/32/55526_2.png) [@Teeigeryuh](https://meta.discourse.org/u/Teeigeryuh)
#### Post date: [May 26, 2016, 8:44pm UTC](https://meta.discourse.org/t/getting-an-iframe-in-discourse/44872/1 "2016-05-26T20:44:44Z")

</div>

I need to add an iframe to website that only logged in users can see, I know its unsafe and such but how would I go on and do this?

Like adding a small iframe on a category page or post/wiki.

I don’t need everyone to do this or wouldn’t care, this is a very very private discourse install so security is something that Is out of the question for this site.

Any ideas on how?

Just wana add an iframe from dropbox

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 26, 2016, 9:11pm UTC](https://meta.discourse.org/t/getting-an-iframe-in-discourse/44872/2 "2016-05-26T21:11:39Z")

</div>

Not possible in topics / posts; you can add it via the footer or header in Admin, Customize though.

---

<div class="post-metadata">

### Author: ![Teeigeryuh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/teeigeryuh/32/55526_2.png) [@Teeigeryuh](https://meta.discourse.org/u/Teeigeryuh)
#### Post date: [May 26, 2016, 9:14pm UTC](https://meta.discourse.org/t/getting-an-iframe-in-discourse/44872/3 "2016-05-26T21:14:30Z")

</div>

That makes perfect sense Jeff, but what if I want this to be only viewed by signed in users?

---

<div class="post-metadata">

### Author: ![Chopper](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chopper/32/57073_2.png) [@Chopper](https://meta.discourse.org/u/Chopper)
#### Post date: [May 26, 2016, 9:55pm UTC](https://meta.discourse.org/t/getting-an-iframe-in-discourse/44872/4 "2016-05-26T21:55:11Z")

</div>

I believe you can’t, mostly for security reasons.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [January 24, 2019, 5:12pm UTC](https://meta.discourse.org/t/getting-an-iframe-in-discourse/44872/5 "2019-01-24T17:12:08Z")

</div>



---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [January 24, 2019, 5:29pm UTC](https://meta.discourse.org/t/getting-an-iframe-in-discourse/44872/6 "2019-01-24T17:29:40Z")

</div>

You can now allow iframes from specific domains to be used in posts by adding the iframe’s `src` domain to the `allowed iframes` Site Setting.

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [January 24, 2019, 5:29pm UTC](https://meta.discourse.org/t/getting-an-iframe-in-discourse/44872/7 "2019-01-24T17:29:46Z")

</div>


