In general people can download all the files needed to run the WASM app 
from your webpage and host them somewhere else - if that's what you're 
afraid of. To prevent this you need to put the important parts into some 
server backend and behind some sort of authentication.

For instance in the context of a web game, think of the game client as a 
"dumb client" that isn't useful on its own without connecting to a server 
backend which runs the actual game logic (and handles payment etc). That 
way the game client isn't really the important part, people could copy this 
for free or even write their own client if they want, but in the end they 
need to connect to your game server to "run the game". Just don't 
accidentally leak the game server ;)

On Wednesday, 4 November 2020 17:09:39 UTC+1, Alessio Mochi wrote:
>
> Hello,
>
> is it possible on the client side to download the whole application from 
> the chrome debugger and get a working version? I see that it is possible to 
> download the generated javascript and the wasm from emscripten via the 
> debugger. I tried to download the project files to my local pc but I 
> couldn't play them. The question is this: can a user use my javascript and 
> wasm modules as if they were libraries by downloading them from the chrome 
> debugger?
>
> Thanks in advance.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/45d1085c-d61e-4dec-a147-e6d32fb34fb3o%40googlegroups.com.

Reply via email to