We all know situations when you cannot go open source and freely distribute software - and I am in one of these situations.
I have an app that consists of a number o
If you want a completely secure solution, you're searching for the 'holy grail' of confidentiality: homomorphous encryption. In short, you want to encrypt your application and data, send them to a PC, and have this PC run them without its owner, OS, or anyone else being able to scoop at the data. Doing so without a massive performance penalty is an active research project. There has been at least one project having managed this, but it still has limitations:
Andy's suggestion on using the TPM has similar implications to points 2 and 3.