- Home /
IL2Cpp Security Advice
I have a soft question here.
There are some elements of my game that need to be hidden from end users. I am aware that you can open and read the code of dlls easily, thus obfuscation and retrieving values from servers.
My question is: Is IL2Cpp more secure in this regard? It looks like it compiles it to native binary. Can end-users still inspect this easily and retrieve string values and such? Are security concerns the same as with Mono? Thanks in advance.
Answer by JDelekto · Feb 08, 2020 at 10:42 PM
IL2CPP basically converts the .NET Intermediate Language into C++ code which can then be compiled for a specific platform (such as Android, WebGL, etc.).
String values are, of course, going to be present and in order to be able to encrypt that type of data, there will need to be obfuscation done at build time, usually coupled some other load or run-time decryption.
While I have not tried them, there are Obfuscator and Obfuscator Pro available on the Asset Store that claims to be able to protect this type of data.
Okay very cool. Thank you! Didn't know about runtime decryption, I'll give that a go.
Your answer
Follow this Question
Related Questions
Connecting to SQL database from iOS app made by Unity fail with error 0 Answers
il2cpp.exe did not run properly 1 Answer
Desktop Game & More 2 Answers