I have a Main Window [parent window] and an Iframe from third party in it. I have defined some global constant in my main window, which holds confidential information like login token. I also have a two way message communication between my main window and iframe.
Can the iframe window access my other global constants from main window ? How to safe guard them, if such an access is possible ?