Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
but i do want to protect this iframe so nobody else can embed the same code(iframe)
iFrames are secure by default, try it 🙂
i know, what i mean is when embedding an iframe and somebody go see the source code he can embed the same page in his site
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Are you sure, have you tried this? That’s what I meant by them already being secure.
Sorry, i guess you do not understand what i mean, normally i give my client some code like this
<IFRAME src="http://mydomain/xxx" width="1000" height="500" frameBorder="0"></IFRAME>
when my client insert this in his website, you visit my client website, look to the source code you see: <IFRAME src="http://mydomain/xxx" width="1000" height="500" frameBorder="0"></IFRAME> and if you insert this code, on your site my page is also to see……
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
So what you’re saying isn’t relevant to the Same-origin policy?
????? this is above my knowledge