Accessing VNC via a Browser and sending password ...
cbeerse "at" hiscom.nl
Wed Aug 21 10:24:01 2002
> -----Original Message-----
> From: antonio.grimaldi "at" koine.ve.it
> we have installed VNC for WinNT on a number of PCs and NT Servers
> At the moment, I use an Internet Browser (IE) to access all the remote
> machines, using the following URL:
> <http://> :5800">http://<machinename>:5800
> Just for speed up the process of locating and connecting to
> each PC, I wrote
> a simple HTML page with the map of all the PCs and an
> hyperlink to each of
> them. Under the hyperlink there is simply the corresponding
> machine URL ...
> All is OK up to this point
> And ... this is the question: is it possible to send the VNC
> password of the
> remote machine via the URL (avoiding to enter the password at
> every access)?
> I want to keep each machine password active for security
> reasons, but would
> like to write (only for me) an HTML page with hyperlinks like
> this (for
> example) <http://>
Some points to think about:
To speed the process, best to use the binary viewer (vncviewer.exe). The
browser/java viewer is downloaded each time you connect.
The binary viewer has lot's of options to automatically connect. Some of
them are recenly discussed on this list so read the arghive. (creating *.vnc
files, assign *.vnc to the vncviewer, creating shortcuts etc)
The browser/java viewer is designed to have acces to machines from various
places without the need to install the binary viewer. Hence, storing account
info for this viewer is also a security violation. (and it needs someone to
For url's, the default way to send login info is
http://username:password@site/. To get this working, the account info must
be passed to the java viewer. The java viewer does not get this account
info, it only reads the account info from the window.