Why not us a typed file then?
Us some sort of record to store the information in and save it.
This way you can store binary data (wich will be hard to interpret for anyone who cares to take a peek at the file contents).
Anyhow, if a user insists on opening the file in a text/hex editor and screw it up, that's his/hers problem isn't it ...
If I deliberately mess up sytemfiles of my OS I cannot complain to Bill Gates or Linus Torvald, now can I ;-)
On DOS/WIN you can include the hidden attribute for the file to make it kind of hidden...
In Linux, let the filename start with a period (.)
Personally, lately, I tend to store these kind of data as text files.
If it gets corrupted, you can use a simpple texteditor to correct it (if you know what you're doing)
Bart