I have 2 VM:
VM(A)(192.168.1.2) - Got a html file(Example.html) with iframe with a resouce(src) within the .
<HTML>
<BODY>
<iframe src="www.example.com" title="W3Schools Free Online Web Tutorials" Height=1200 width= 1200></iframe>
</BODY>
</HTML>VM(B)(192.168.1.4) - try access Example.html from VM(A).
due to SOP (Same Origin Policy) VM(B) can not view anything in Example.html. But there is IIS that I can add customHeaders like "X-Frame-Options". so here is my question, which VM I should setup IIS? VM(A) or (B)?
Aucun commentaire:
Enregistrer un commentaire