dockur / windows

Windows inside a Docker container.
MIT License
17.99k stars 1.57k forks source link

[Question]: How to set a password to the ip:8006 site of VNC View? #839

Open MuMu360121 opened 2 hours ago

MuMu360121 commented 2 hours ago

Is your question not already answered in the FAQ?

Is this a general question and not a technical issue?

Question

How to set a password to the ip:8006 site of VNC View? I set it in a NAS that have the public ipv4 address and have do the ddns ,then I can use the domain:8006 to see my docker windows without any login/password method, it's unsafe.

kroese commented 2 hours ago

There is no option to set the VNC password, because they can be bruteforced very easily and only offer a fake sense of protection.

The best option is to not allow port 8006 in the firewall (or only from specific IP addresses that you whitelist). And use port 3389 (RDP) instead.

MuMu360121 commented 2 hours ago

I'm not a programmer but I searched the documents form qemu, is it possible to use the part of Configuring SASL mechanisms or let user to set a account and password in the environment?

Sometimes ,I use it to do jobs the security software kill the port 3389, I need use it in the VNC site,but when I just finish the job I will close the security software and use the rdp.

MuMu360121 commented 1 hour ago

I'm not a programmer but I searched the documents form qemu, is it possible to use the part of Configuring SASL mechanisms or let user to set a account and password in the environment?

Sometimes ,I use it to do jobs the security software kill the port 3389, I need use it in the VNC site,but when I just finish the job I will close the security software and use the rdp.

Maybe the document is not suit for the question , It's the problem from the NoVNC(https://github.com/novnc/noVNC),I searched but no result