How to setup passwords for .txt files | Sololearn: Learn to code for FREE!


How to setup passwords for .txt files

I want to do it because i have created a java program which stores data in a notepad and i dont want any other person to access that file other than the program

3/17/2019 10:01:00 AM

Raj Bunsha

3 Answers

New Answer


Raj Bunsha


You can't prevent users from editing files which are on *their* computer. You can, however, encrypt or obfuscate your data before storing them into a text file.


How can I encrypt in a manner other than Morse code or monoalphabetic cipher