Hi Valentin,
> I would like to know if there is a way to hide the password entered
> by a user when he try to connect from vnc_lite.html ?
> From my search, it's unfortunately impossible to hide the text input
> from a JS prompt.
>
> By reading noVNC code, I've observed 3 ways to connect :
> Through the url parameters --> Password is subject to eavedropping,
> Through the password form --> But is only a feature of vnc.html,
> And Through the JS prompt --> Password also subject to eavedropping.
You're correct that a window.prompt() isn't proper for password input
in a production environment.
> I really want to use vnc_lite because from what I read, it's the only
> responsive screen provided by noVNC.
What problems are you running into with vnc.html?
> Is there a more secure way to ask for a password on vnc_lite.html ?
vnc_lite.html is just a simple example used to demonstrate how little
code actually is needed to create a "working" VNC client using our
library. It's not intended to be used as-is in production.
vnc.html is more a complete example which should be ready for use in
most cases.
Similar to how vnc.html does it, the best way is to have a HTML input
element of the type 'password' here. That should be the path forward in
your implementation.