Use SSL/HTTPS


SSL certification provides an extra layer of protection to your website. Whenever a user sign into a site, his username, and password is sent directly to the server without any encryption or decryption. By using an SSL certificate, the user’s id and password are encrypted before sending over the internet.

So, if anyone catches any packets of login details, it will be of no use without decryption.