Click here to Skip to main content
15,741,818 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi Developers,

In my mvc page generating an error that is given below that i need to fix. so please suggest me what should i do?

Password fields present on an insecure (http://) page. This is a security risk that allows user login credentials to be stolen.

login credentials should not be transferred in http:// you should be using https instead to have a secure transfer mode.

As your page having password field is opening in http mode you are getting this risk. If it is devlopement environment it is ok but make sure your site should have https enabled when you deploy your code else there would be no use of your credentials they can be hacked using session hijacking
Share this answer
I solved this issue with the help of a system administrator. He added SSL certificate to the site. It turned my site from http:// to https://
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900