Java Swing Application with password hardcoded in it
I have developed a Java Swing Application that has a database connection credential hard coded in it. I will be using Web Start to deploy the application.
What is the best practice to handle passwords in a swing application.
One of the ideas is to create a file that will hold the encrypted login and password information and place this file in a folder in the webserver and have a authentication setup for that folder.
I am not sure if that is the best option or what are all the options available for this situation.
Thanks
Java
Last Comment
Valeri
8/22/2022 - Mon
CEHJ
The best practice is to store nothing in the app. Make the user login with the gui over https