gdsdecomp icon indicating copy to clipboard operation
gdsdecomp copied to clipboard

[Suggestion] - Section for the best ways to secure your Godot application?

Open girng opened this issue 5 years ago • 3 comments

I know there is a small portion in the official godot docs, but I think it would be relevant/beneficial in this repo as well. Maybe a section for tricks to "maximize the security" of your Godot app? For example, changing the XOR key before compiling adds one extra step the hacker has to do, etc.

Awesome repo btw, I'm learning a lot.

girng avatar Jan 12 '19 23:01 girng

I dont consider encrypting the game as security, in my opinion, security is only when protecting the user against others (including the developer). If its multiplayer, security should be server side (protecting the server from the client) and client-side (protecting the client from the server, i.e, no arbitrary code execution, etc..).

waleed177 avatar Mar 24 '22 12:03 waleed177

Your best option is probably to just encrypt the PAK, but the key is trivially recoverable from the EXE. We don't include instructions on how to do that, though, so it would protect from at least the most basic of RE attempts.

nikitalita avatar Mar 24 '22 19:03 nikitalita

The engine in open source, that's the problem Game devs who want to secure their game need to modify the engine code. The load_byte_code function is a good start, you can go lower modify the mbedtls library.

manjaroman2 avatar Jan 27 '24 23:01 manjaroman2