WebApp in iFrame

Hi!

I have ti run my WebApp in an iFrame. So i have to add:

Self.Security.FrameEmbedding = WebAppSecurityOptions.FrameOptions.Allow

But where? The open event of the first window of my app does not know security.

So there comes an error.

Where is this place in the source:
"To allow a web application to appear in an

Thanks!

Andreas

App.Open

YES!

Hi Greg,

So, does it meant that Xojo does support running a web app in an iframe and the same origin policy is configurable. There was an earlier post that seemed to indicate that web app in iFrame is not supported.

https://forum.xojo.com/13511-2014r2-webapp-in-iframe/43

thanks,
Dan

It is
see http://documentation.xojo.com/index.php/WebApplication.Security

Great. Thanks.

Is there a way to secure the Web App in another way.

I am looking into running a web app inside of a chrome plugin, so I have to allow serving from any origin; it would be great to know if there is a standard way to secure the web app anyway.