1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cross domain workarounds

Discussion in 'Scripting' started by manpreet, Jan 24, 2017.

  1. manpreet

    manpreet Regular Member

    Joined:
    Nov 3, 2011
    Messages:
    291
    Likes Received:
    26
    Id like to know whether the following is possible or not due to the cross domain policy:

    Main site <> intermediary iframe <> main iframe

    Intermediary site spoofs it domain to look like it is main iframe.

    It parses data to my spec and sends it to main site

    Main site receives the data as it has allowed intemediary domain to send data

    Is the above possible considering that iframes and cross domain policy is looking at domains and these can be spoofed as such