Greetings,
how can i protect my WebGL compiled project code from reading / decompiling by the user ? (for example is dotfoscator applicable on webgl projects?)
WebGL projects are already heavily obfuscated by IL2CPP.
https://blogs.unity3d.com/2015/05/06/an-introduction-to-ilcpp-internals/
https://docs.unity3d.com/Manual/IL2CPP-HowItWorks.html
1 Like
Please note that IL2CPP is not a substitute for DRM or security though. I would continue to recommend investigation of DRM solutions. In most cases, the best security is to keep as much sensitive code on the off the client as possible.
The main is not to prevent the user from using the code. it is all about preventing the user from READING/SEEING the code.