You could try one of the homomorphic encryption frameworks as the ultimate DRM mechanism if you feel adventurous. Realistically, that's not (yet) going to be practical for any real-life computing workload.
So plain old copyright (if that's a thing in your country) is your friend. The fact that some code runs in-browser doesn't automatically hand it to the public domain. On Monday, November 1, 2021 at 11:42:44 PM UTC+10 Floh wrote: > Do you want to avoid reverse engineering, or just block unlicensed users > from running the WASM? > > The first is pretty much impossible if the code runs on the client, the > second could be implemented with a client/server login handshake. But in > any case, all code running on the client should be assumed "open range", > WASM or not. > > On Sunday, 31 October 2021 at 11:17:14 UTC+1 [email protected] wrote: > >> >> how could i force the application to run only on registered hardware? I >> think I understand that from emscripten you cannot call the operating system >> Il giorno sabato 30 ottobre 2021 alle 16:27:01 UTC+2 Shlomi Fish ha >> scritto: >> >>> Hi Alessio! >>> >>> On Sat, 30 Oct 2021 05:59:01 -0700 (PDT) >>> Alessio Mochi <[email protected]> wrote: >>> >>> > how can protect my emscripten application from reuse? >>> > >>> >>> How wasn't I clear? >>> >>> > Il giorno giovedì 28 ottobre 2021 alle 09:35:50 UTC+2 Shlomi Fish ha >>> > scritto: >>> > >>> > > Hi Alessio! >>> > > >>> > > On Wed, 27 Oct 2021 09:20:45 -0700 (PDT) >>> > > Alessio Mochi <[email protected]> wrote: >>> > > >>> > > > Hello, >>> > > > Can execute a file wasm directly on the server side >>> > > > avoiding downloading locally? I would like to protect my code >>> inside >>> > > wasm. >>> > > > >>> > > >>> > > You can try using server-side node.js: >>> > > https://duckduckgo.com/?q=node.js+wasm&atb=v140-1&ia=web . Note >>> that you >>> > > might as well compile C/C++/etc. to native machine code and run the >>> > > *.so files on the server. Also see: >>> > > >>> > > >>> > > >>> https://github.com/shlomif/Freenode-programming-channel-FAQ/blob/master/FAQ_with_ToC__generated.md#how-do-i-hideobscureencrypt-my-source-code-to-prevent-end-users-from-learning-how-it-works >>> >>> > > >>> > > > Thanks in advance. >>> > > > >>> >>> >>> >>> -- >>> >>> Shlomi Fish https://www.shlomifish.org/ >>> Chuck Norris/etc. Facts - https://www.shlomifish.org/humour/bits/facts/ >>> >>> Jack: Hi Sophie! >>> Sophie: Don’t “Hi, Sophie!” me. >>> Jack: Don’t “Don’t ‘Hi, Sophie!’ me” me! >>> >>> Please reply to list if it's a mailing list post - >>> https://shlom.in/reply . >>> >> -- 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/aa9ccc55-875c-40a5-85de-014b8d0e63abn%40googlegroups.com.
