How do I prevent the user name and password from appearing in the browser's network?

when the user logs in, the user uses jquery"s $.ajax () request to send the username and password to the backend. There are two questions:
1. After sending the request, I open the console, and you can see the username and password transmitted in the network. Is there any way not to show the username and password in network?
2. The user login password stored in the database must be encrypted. Should the
front end encrypt the password and pass it to the backend when sending the password using the ajax request? Or should the front end
send the real password to the back end and then encrypt it?


first of all, the password is definitely not the encrypted password, but the hash that stores the password. Second, as long as it is https, there is no loophole in sending plaintext username and password to the server. Https is already point-to-point encryption. Finally, a lot of current practices are that the client sends the hash, of the password and then the server hash. For example, the password is "password", the client hash 500times, send hash string to the server, the server hash the string 175times, and then store the database. In this way, no one knows what the password is except the user himself.


must be a plaintext password, because all the encryption at the front end is the emperor's new clothes, and it is taken off by others every minute, so there is no need to encrypt it at the front end, which is time-consuming and laborious. The entire process should be encrypted with https during transmission.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e938c6-4722d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e938c6-4722d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?