Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
3
Question by eheimburg · Feb 20, 2011 at 06:52 PM · kongregateiframe

How can I stop iframe theft of my Kongregate game?

I entered a game in the Kong contest, but it's not the final version of the game... just the best I could do with the time available. I want to keep this crappy version from getting too widespread, so I site-locked the game (checking the Application.absoluteURL to make sure it is on Kongregate.com).

However, thieves are still swiping the game by putting it in an iframe. Normally you could easily stop iframe theft with a call like:

Application.ExternalEval("if (window != top) { document.location='http://kongregate.com'; }");

But Kongregate.com actually loads their game within an iframe all the time. So the game is ALWAYS in an iframe.

I figured I'd make sure the game is at least iframed by the right person. Kong's iframe is hosted on "a.kongregate.com" so I figured I'd check that. But the thieves who are taking the game are simply iframing Kongregate's iframe! Thus, it always looks like the right place. The iframe really is Kong's iframe...

How can I stop this iframe-based thievery? (And yes, in this case it's thievery, because I can see that they saw the sitelock message saying it was not to be distributed, and they went ahead and iframed it anyway to get around that.)

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image codesennin · Feb 20, 2011 at 06:58 PM 2
Share

I may be wrong but i strongly believe it's impossible to 100% secure it. A polite message telling them you will sue them goes a long way though.

1 Reply

· Add your reply
  • Sort: 
avatar image
2

Answer by AKAssassin · Apr 29, 2011 at 05:17 PM

If you now that Kong puts it into and iframe and they are iframing into an iframe just check up the parent tree to see how many levels of iframe your game is in.

If it is in more than 1 level deep of iframe don't start the game. Then if it is one level of iframe check where the parent window is. Might secure it a little bit more...

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

Need help uploading to internet! 0 Answers

How do I know if my game is connecting to Kongregate's API? 2 Answers

How to check iframing into a iframe? 2 Answers

Kongregate 1 Answer

Kongrete API 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges