X-Frame-Options in Ionic app iframe


#1

I am using ionic to deploy our company app - where in we are using a blank ionic shell and an iframe inside which our website will be displayed in responsive mode. This gives us a quick fix for deploying our app.

However, to display the website in iframe, I have to remove the X-Frame-Options, but this will become a security concern as everyone can show our website inside a shell similar way.

Is there any way to restrict the website to be opened only in our company app and not everyone’s iframes.

Thanks in advance.


#2

any luck on this issue?