Does anyone know if there is a direct way to hide characters in the value attribute in the texbox when entering a password. The asterisks of course hide the characters (TextMode = "password"), but if you inspect the page, then, having reached the control, the password value lies in the open form in value.
- To do this, I advise you to create your keyboard handler, intercepting for example oninput, and draw the asterisks yourself, and store the value in the half-encrypted form in the js variable - then your password will be vulnerable only to novice hackers who know js debugger (it is next to the adjacent tab with inspector), I doubt that there are few. And add ASP. PS asp net and web browser behave normally. - nick_n_a
- What is the point on the client side to protect something? Any wonderful js script can be broken. - free_ze
- Well, precisely because of the advanced debuggers in browsers, I didn’t want to write any js, because it’s no more difficult to peep at them than the layout. - Gandolf
|