It's as true in life as it is in client-server programming: the only secret that can't be compromised is the one you never revealed.
But sometimes, it's unavoidable. If you must send a secret down to the client, you can encrypt it. The most common form of encryption is symmetric encryption, where the same key is used to both encrypt and decrypt. Most
Why Isn't My Encryption.. Encrypting?