How to sell secret files?

II want to make an app store. Some apps will be paid.

How to prevent the user from writing a crack to install (create canisters and install WASM) paid apps for free?

Maybe, something with chain key? Encrypted WASM? (But then we need to solve how to protect the decryption key, just like as we to keep protected WASM.)