Stop Anyone From Viewing My Site Using an IFrame

iframe, javascript, php

Solution

Check out SO's own Jeff Atwood's comments about this problem...

Coding Horror - We Done Been ... Framed!

What it boils down to is that there is no RELIABLE way to do this. You can try a frame breakout, but malicious coders will always be able to add a little more code and get around any "protection" you might add.

Problem

I have looked and tried but don't see where I can stop some being able to browse my site through an IFrame or Thickbox? I want to stop banned members from accessing the site through proxy sites that give the end user the ability to browse through a IFrame. I know nothing may be full proof but it's still worth the question.

Original source

Related problems