Mobile app version of vmapp.org
Login or Join
Megan663

: When an iFrame is used in a page, it sends a referer (sic) HTTP header of the page that it was included in. You could configure your server to check that the referrer is the correct

@Megan663

When an iFrame is used in a page, it sends a referer (sic) HTTP header of the page that it was included in.

You could configure your server to check that the referrer is the correct page for your URL.

Alternately, you could use JavaScript to check it using document.referrer.

See: www.nczonline.net/blog/2013/04/16/getting-the-url-of-an-iframes-parent/

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Megan663

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme