I would of thought storing the data in a text file or some kind of database would be the only way?
You could either password protect it, or like you say, encrypt the stored data..

I'm sure some...