# Open plc webserver through IFrame

**URL:** <https://forum.inductiveautomation.com/t/open-plc-webserver-through-iframe/112675>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [December 8, 2025, 4:03am UTC](https://forum.inductiveautomation.com/t/open-plc-webserver-through-iframe/112675 "2025-12-08T04:03:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![philin15](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@philin15](https://forum.inductiveautomation.com/u/philin15)\
**Post date:** [December 8, 2025, 4:03am UTC](https://forum.inductiveautomation.com/t/open-plc-webserver-through-iframe/112675/1 "2025-12-08T04:03:17Z")

</div>

I want to open the siemens 1518 plc webserver through Perspective IFrame. Some detail need pay attention? And the src is http. I can open the src by chrome and the gateway to plc is connected right.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/0/0085c6586478b00593ef867177ac007694c4c723.png)

---

<div class="post-metadata">

**Author:** ![Cose\_Peter1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cose_peter1/32/79174_2.png) [@Cose\_Peter1](https://forum.inductiveautomation.com/u/Cose_Peter1)\
**Post date:** [December 8, 2025, 4:13am UTC](https://forum.inductiveautomation.com/t/open-plc-webserver-through-iframe/112675/2 "2025-12-08T04:13:52Z")

</div>

If your session is running on https, you can't have an iframe with src as http.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 8, 2025, 1:16pm UTC](https://forum.inductiveautomation.com/t/open-plc-webserver-through-iframe/112675/3 "2025-12-08T13:16:41Z")

</div>

The site that will be inside the IFrame must also set headers that signal that it is allowed. (Default in browsers is **not** allowed.)

See if the Siemens offers control over frame options or content security policy headers.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [December 8, 2025, 5:09pm UTC](https://forum.inductiveautomation.com/t/open-plc-webserver-through-iframe/112675/4 "2025-12-08T17:09:08Z")

</div>

> [@Cose\_Peter1](#):
>
> If your session is running on https, you can't have an iframe with src as http.

Note that this is a security restriction imposed by **web browsers** , totally outside of Ignition's control. Not contradicting your point at all - just emphasizing that you _must_ work around this elsewhere.

> [@pturmel](#):
>
> The site that will be inside the IFrame must also set headers that signal that it is allowed. (Default in browsers is **not** allowed.)

Most often, the kinds of products that offer these embedded web views do _not_ allow any kind of customization of headers.

If you truly need to embed this web interface, you could potentially use a "reverse proxy" that makes the connection to this portal and essentially mirrors it out, but using proper HTTPS and sending proper CORS headers. This is well traveled ground, but not the most trivial thing in the world.

---

<div class="post-metadata">

**Author:** ![leidxu](https://avatars.discourse-cdn.com/v4/letter/l/fbc32d/32.png) [@leidxu](https://forum.inductiveautomation.com/u/leidxu)\
**Post date:** [December 9, 2025, 3:12pm UTC](https://forum.inductiveautomation.com/t/open-plc-webserver-through-iframe/112675/5 "2025-12-09T15:12:55Z")

</div>

We used web browser in V7.9 vision module to access SIEMENS 1518F webserver. And replacement soltion in V8.1 perspective since Iframe DOES NOT WORK for SIEMENS 1518F webserver.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 9, 2025, 3:28pm UTC](https://forum.inductiveautomation.com/t/open-plc-webserver-through-iframe/112675/6 "2025-12-09T15:28:36Z")

</div>

Then use Vision and its Web Browser module in V8.1 or V8.3. 🤷‍♂️
