Simple protection of published game

2
  • 75 favourites

Index

Attached Files

The following files have been attached to this tutorial:

.capx

security-url.capx

Download now 194.04 KB

Stats

8,647 visits, 21,819 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.

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

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