Click here to Skip to main content
15,064,915 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Hi All,

I am having a web application with plane HTML and Javascript and one with ASP.Net.
For login module when I am entering login details and going to inspect element from browser, in browser I can able to get username and password as it is.

How to prevent this visible in inspect element? How to provide security for this?

Thank you for your suggestions in advance.


1 solution

You can't. The person is only looking at what they themselves have entered. If you're worried about saved passwords etc then that's an issue for how the user manages their browser and security settings, not your website.
5ed, but I'm not sure the inquirer will understand this, because it's possible that the question is based on wrong understanding of how Web works. Some further explanations may be required.

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