thanks you, 
I am evaluating alternatives on how to implement my application, in 
particular whether to use three.js to render from javascript and then use 
kernel functions in emscripten modules or to do all the kernel and 
rendering on the emscripten side. The second option seems safer to me ... 
In the first option once you understand the parameters of the modules you 
can reuse them to build another application, which I see difficult in the 
second option. 
Il giorno mercoledì 4 novembre 2020 alle 18:01:10 UTC+1 Floh ha scritto:

> 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/5a85b530-9db3-4219-a71d-fd2c9ceaa7afn%40googlegroups.com.

Reply via email to