问题
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
回答1:
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
来源:https://stackoverflow.com/questions/13757690/how-to-prevent-other-websites-putting-my-web-page-in-their-iframes