Reputation: 4113
Here's a simple example of my HTML file, embed.html
:
<div id="embed_content"> Hello, I am special content on the embed.html file. How are you? </div>
I'd like to be able to control who can embed that onto their page -- that is, to grant permission on who can use it.
How do I do this?
Upvotes: 1
Views: 75
Reputation: 773
Unless your content is in a private place it is very difficult to control where it ends up or who has access to it without some pretty complicated server-side rules. iframe
s are not all that discerning...
Upvotes: 0
Reputation: 46542
You can try filtering based on the HTTP_REFERER header, but generally speaking, anything you publish on the Internet can be copied or embedded by anyone else. Your only recourse is copyright litigation.
Upvotes: 1