Simple protection of published game

2

Index

Attached Files

The following files have been attached to this tutorial:

.capx

security-url.capx

Download now 194.04 KB

Stats

9,469 visits, 23,179 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 16 Feb, 2014. Last updated 19 Feb, 2019

Thou shalt not steal

Test it yourself

Before we begin you can download simple example project, extract it to your server/dropbox and try to run index.html.

You should see something like this:

If you click on bottom text player will be redirected to the original game url address and will see this

and now they can play it from your server.

How does it work?

Security in this example is based on simple comparison of two values

First we check where we are using Browser.URL expression.

If result is true we can start playing. If it's false, we'll be redirected to proper url address. It's simple as that.

  • 0 Comments

Want to leave a comment? Login or Register an account!