• Post Reply Bookmark Topic Watch Topic
  • New Topic

code to store uname & password in file

 
Raghu ram
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anybody give me the code uname and password in file using FileWriter and check if that username and password is already existing in the file.

Reply as soon as possible.
 
Remko Strating
Ranch Hand
Posts: 893
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following link gives information over reading and writing files in Java.


Java.io


This code can you use to write the needed functionality.

Personally I would store this values into a database and encrypt them.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!