Securing web applications

One of the uncountable advantages of Unity3D is the ease to deploy and host web applications.

The counter part of it is the ease to find and copy your web application files and host it somewhere else…

So here’s a little script allowing you to define the authorized “contexts” (context = application absolute URL + unity3d file relative path) for your application so that no one but you will be able to host and run it. As soon as the script detects an unauthorized context, it will load the scene you specified.

GET IT HERE

Please comment if you spot anything unoptimized/bugged/uggly :wink:

Interesting