When a user submits a username and password that the server checks to prove who they are before any access is granted,…