How to prevent loading outside of iframe

My app lives in an iframe. Is there a way to prevent direct page loads?

For clarity, I only want pages to load if they are in the iframe.

Cheers

This topic was automatically closed after 70 days. New replies are no longer allowed.