1

Possible Duplicate:
How to prevent my site page to be loaded via 3rd party site frame of iFrame
How to Block Iframe call

I don't want other website use my website content by iframe

Community
  • 1
  • 1
phnkha
  • 7,782
  • 2
  • 24
  • 31

1 Answers1

4

Use X-Frame-Options response header, this will tell the browser wether it should show the webpage in a frame or not. E.g.

X-Frame-Options: SAMEORIGIN
Musa
  • 96,336
  • 17
  • 118
  • 137