Hi can someone tell me how to protect a .txt file with a password.
For example the user tries to open test.txt and the C++ program(running all the time) gives you a pop up window where you have to enter the correct password.
Is there a way by which you are able to do that.
That's the wrong way to about it. In your scenario all I would have to do is kill or suspend your nanny process and I would be able to get into the text file. What you want to do is zip it and put a password on that.