Question regarding the webplayer

I had a question regarding the webplayer.

If I put a game up on www.mygame.com/game.html, what can you do to stop someone from going to www.mygame.com/game.unity3d, downloading the .unity3d file, and then copying the html page source and hosting your game on their own site?

Is there some sort of security measure you can implement to restrict the downloading of the .unity3d file?

I’m sure there is, and if anyone can just give me a yes/no answer and point me in a general direction, it would be very appreciated.

I’m a newb when it comes to servers and webpages as you can tell. :sweat_smile:

You can use Application.absoluteURL.
There’s an example inside the link that demonstrates exactly what you need :slight_smile:

Thank you! That was exactly what I was looking for.