Practice better key management. One good way is to use the Data Protection API on Windows or CDSA APIs.