Nothing can be completely 100% secure, but there are multiple precautions you can take to make your program more protected thus making it more difficult for crackers to breach your applications protection.
Some examples:
More tips and details can be found in the Smarx Compendium, chapter 17.