在Java应用程序中保存用户设置的最佳方法是什么? [英] What is the best way to save user settings in java application?
本文介绍了在Java应用程序中保存用户设置的最佳方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
安全地保存Java桌面应用程序中的用户设置的最佳方法是什么?例如,如果我想保存Ftp帐户设置,最好的方法是什么?
What is the best way to save user settings in java desktop app securely? For example If I want to save an Ftp account settings what is the best way to do that?
谢谢
推荐答案
偏好设置API 是存储用户和系统首选项的好方法。如果要存储密码,则必须对其进行加密。这是一篇很好的文章,可以帮助您入门。
The Preferences API is a nice way to store user and system preferences. If you want to store passwords, you'll have to encrypt them. Here is a nice article that can get you started.
这篇关于在Java应用程序中保存用户设置的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文