This question has educational goals only. I am currently creating a small application on which I want to enable the authentication mechanism. The application must have access to the Internet when installing it, but after that it can work offline. So far I have been thinking about the following solutions:
1) Classic: username and password (encrypted) sent to the authentication web service - problems when the Internet connection is unavailable.
2) Create a password based on the serial number of the motherboard / hard drive - this causes problems when changing components.
In addition, I want to enable the "remember password" checkbox. What is the safest way to do this? Where should I store this information?
I believe that most of you have made the authentication mechanism more or less complicated, and I ask for your opinion. In addition, I know that everything can be hacked, but I want to make it as difficult as possible.
source
share