Be a Supporter!

Stop Website From Embedding From Ng

  • 154 Views
  • 2 Replies
New Topic Respond to this Topic
Injured-Ninja
Injured-Ninja
  • Member since: Oct. 29, 2007
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Stop Website From Embedding From Ng 2013-07-09 16:40:24 Reply

I recently finished a new game and had it sponsored with a primary sponsorship.
As permitted by the contract, I uploaded a brand-free, site-locked version to Newgrounds.
I'm also allowed to sell additional branded versions to secondary sponsors, as long as they're site-locked, and I'm relying on this as a major income channel for this game.

Today, I was shocked to discover that a sponsor, who previously wanted to pay me for a brand-free version locked to their website, simply embedded on their website the SWF hosted on Newgrounds. Apparently, site-locking as I know it, only regards the hosting domain, not the webpage domain, which makes it useless against anyone with even a tiny bit of brain.

How can I prevent this?
How can my SWF know the URL of the webpage in which it is embedded?

Injured-Ninja
Injured-Ninja
  • Member since: Oct. 29, 2007
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to Stop Website From Embedding From Ng 2013-07-09 16:45:38 Reply

A few more details:
I coded my game in ActionScript 3.0, using Flash Builder 4.5.
Also, I'm aware of ExternalInterface, but a person embedding an SWF can easily prevent it from interacting with webpage JavaScript.

VicariousE
VicariousE
  • Member since: Feb. 15, 2001
  • Offline.
Forum Stats
Supporter
Level 34
Blank Slate
Response to Stop Website From Embedding From Ng 2013-07-11 02:25:56 Reply

Ask about this in the Programming Forum, or even in the Flash Forum... it's likely someone else has also run into this problem.

Try checking these out first... http://www.newgrounds.com/bbs/search/topic/embed


Now building Vault 101, reverse engineered from yesterdays technology.. or I could ignore it, and let you figure it out |:

BBS Signature