Some of the common hacks use an inner frame to host your site, while the attacker controls the surrounding frame.
Using the following Javascript code, you can make sure your site is running the top frame in the browser:
<script type="text/javascript"> if (parent.frames.length > 0) { parent.location.replace(self.document.location); } </script>
The code will reload the current page in the parent window if it is within a frameset.
Kirk
Remember Me
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.