Unless you are just saving pure text this isn't normally an issue. If it is then just write to it using encryption. Instead of using the standard file io functions write one of your own which modify the data .
At its simplest just shift the data a few bits i.e.
void MyWrite(file* pfile, int size, char* buffer)
{
for(int i=0;i<size;i++)
{
char modified = buffer+i;
modified = modified + 5;
fprintf(pfile,"%c", modified);
}
}
If you want something more complex and more secure use a look up table or a "real" encryption algorithm.
When you read it back in do the opposite