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,588 visits, 23,355 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

Things to consider

I am protected

Like I said in the beginning, there is no 100% guarantee that your game will be fully secured.

Even this method presented by me have one big issue.

If your entire game was stolen that means they already have all of your assets including source code. Even after my security protection and minification they can easily make your game to work on their servers.

Look at this image

See that highlighted text?

This is link to your game we have just secured!

Anyone having your source code can easily modify this lines with simple text editor and put their own links to their own servers. Yes our protection fails...

Not so easy

... But not necessarily.

There is one more trick I want to show you.

All you need to do is a bunch of local text variables that will store your url address.

For this example I've used something like this:

It's a number of local text variables with random names and for each of them I've assigned different parts of my url.

As you can see my full url is https://dl.dropboxusercontent.com/u/34375299/Construct%202/examples/Security%20test/index.html

and I've just cut it into a pieces and assign to different variables.

Paid_Ads = "https://dl.dropboxusercontent.com/u/"

Key_Code = "34375299"

Tag = "/Construct%202/examples/"

Name = "Security%20test"

And then all you need to do is to change your Compare condition to something like that

What is happening here is just simple values added together with /index.html at the end.

And here's how it look in text editor

Red highlight show url in variables, Green url in Compare condition.

Noticed like this:

2,"https://dl.dropboxusercontent.com/u/34375299/Construct%202/examples/Security%20test/index.html"]

turns to this:

[23,"Paid_Ads"],[23,"Key_Code"]],[23,"Tag"]],[23,"Name"]],2,"/index.html"] ?

  • 0 Comments

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