I have a site whose content keeps getting iframed on a daily basis. Daily I change the content, daily other sites use my precious bandwidth though iframing the content. And its not even a 2KB image, its a download script through which people download 100s of MB's, I don't want him to take advantage of my bandwidth. Is there a technique from which I can stop him from stealing my content? Thanks, Karan
The problem is that I myself am using an iFrame to display that page on one of my other pages and I can't possibly take do that ^^ because it will remove that file from my file too.
If I were to use the include function. The whole of the php file would be included resulting in the <html><head> etc tags to be included in the main page which would result in half of the page not showing up.
bingo. OR, another option that may or may not solve the problem: deny visitors based on referrer. Here's a good article on the subject: http://www.htaccess-guide.com/index.php?a=7 -P
use a generic php session maybe? that way when there hot linking your iframe, if there not part of your web sites session, the page will point elsewhere? my 2 cents =P