Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

What is more secure WebGL or IL2CPP for Standalone?

Discussion in 'General Discussion' started by NewMagic-Studio, Jul 4, 2018.

  1. NewMagic-Studio

    NewMagic-Studio

    Joined:
    Feb 25, 2015
    Posts:
    432
    I know il2cpp makes standalone applications much more secure but i am not sure about webgl
     
  2. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,090
    Unity's WebGL build process is fairly complex. My understanding is that it starts off with the normal IL2CPP approach but then diverges by sending the C++ code to emscripten which compiles it into asm.js. To reverse engineer code in a game you'd have to not only understand asm.js but be able to reverse engineer code generated and optimized by a compiler.

    https://docs.unity3d.com/Manual/IL2CPP-HowItWorks.html
    https://blogs.unity3d.com/2014/04/29/on-the-future-of-web-publishing-in-unity/
    https://en.wikipedia.org/wiki/Asm.js
     
    Last edited: Jul 4, 2018
    NewMagic-Studio likes this.
  3. AlanMattano

    AlanMattano

    Joined:
    Aug 22, 2013
    Posts:
    1,500
    What do you mean for "much more secure"? what do you what to protect?
     
    bobisgod234 and angrypenguin like this.