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

+1

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

+4

Raj Bunsha https://www.sololearn.com/learn/9850/?ref=app

+5

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.

+1

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