user1626730
user1626730

Reputation: 4113

How do I control who can embed my site's embeddable content?

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

Answers (2)

oomlaut
oomlaut

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. iframes are not all that discerning...

Upvotes: 0

Adrian
Adrian

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

Related Questions