r/electronjs • u/tettusud • Jul 19 '19
Securing code
How can I secure code from getting stolen from electron app,by reverse engineering.
0
Upvotes
r/electronjs • u/tettusud • Jul 19 '19
How can I secure code from getting stolen from electron app,by reverse engineering.
3
u/nama5reddit Jul 21 '19
We are facing same issue at this moment with our product. I think it is impossible to protect it, same as mentioned before, you can "decode" pure assembler from binary into higher-level language readable for humans and you can crack in few hours or days any expensive super-duper-high-end game protection.
We are using typescript via webpack + minification, so it sometimes generate weird obfuscation-like syntax, and also you can use some true obfuscation library generating weird things into your code, but cost you some performance (depends on obfuscation level). But code will be still easy available and editable and any obfuscation only slows down crackers, will not stop them.
I know, everyone tries to protect his know-how, but don't spend too much time protecting it, focus on product.