title: How to deny site access from an iframe?
body: <p>I've noticed a few websites deny access from iFrames to their registration and login pages for security reasons. It's a good idea in my opinion. </p>
  
  <p>I'm wondering what settings they need in order to do this as I would like to do the same on my website. The website in question is built in Java and runs on Apache Tomcat.</p>
  
  <p>If anyone knows how this is done it would be great if you could share.</p>