aspose file tools*
The moose likes Java in General and the fly likes Where should I keep my passwords? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Where should I keep my passwords?" Watch "Where should I keep my passwords?" New topic
Author

Where should I keep my passwords?

Matthew Roth
Greenhorn

Joined: Jan 30, 2001
Posts: 19
Where should I keep my user names and passwords? This is for an application that will not be connected to a server. I convert my passwords using the message digest. I would like to place them into a database, and the only one I have is Access. Can java open an MS Access database without Access being installed on the user's computer?
The user will have to log in to my program with a password. I'm trying to figure out where the best place is to place the username and password. I thought I could place it into an Access database and then include that with the program when I distribute it.
I didn't think a text file would be the best place for username and passwords. Any suggestions would be appreciated. Thanks
[ February 11, 2002: Message edited by: Matthew Roth ]
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7292

Hi Matthew -
I'm going to move this over to one of our newer topics, General Computing. I think it makes more sense there.


Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
Shriram Shivakumar
Ranch Hand

Joined: Jun 20, 2000
Posts: 42
If you are using Java, the better place to store username/passwords is in a property file.


-Shriram Shivakumar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Where should I keep my passwords?