Another question, is view-only really "view-only"? Right now, I am depending on the cooperation of whomever I give the "password" to for them to share and "view-only" my desktop. Since the view-only feature is really controlled from the client side. They can very well break my trust and use the client to manipulate my display and my user account..
Steve Palocz writes: > Or grab the class files from www.tightvnc.com if it for unix, or the win32 > distribution for windows. Already has them in it. > > Steve > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of [EMAIL PROTECTED] > Sent: Thursday, June 06, 2002 8:51 PM > To: [EMAIL PROTECTED] > Subject: view only java applet > > > Apply the following two patches to > optionsFrame.java and rfbProto.java > in the get the vnc-3.3.3r2_javasrc.tgz > package to use the viewonly options for > the java applet. > > :::::::::::::: > optionsFrame.diff > :::::::::::::: > 233c > (evt.target == choices[shareDesktopIndex]) || > (evt.target == choices[viewonlyDesktopIndex])) { > . > 209a > > viewonlyDesktop > = (choices[viewonlyDesktopIndex].getSelectedItem().equals("Yes")); > . > 151a > // Disable viewonlyDesktop option > // > > void disableViewonlyDesktop() { > labels[viewonlyDesktopIndex].disable(); > choices[viewonlyDesktopIndex].disable(); > } > > // > . > 150a > > . > 129a > // if parameter is viewonly = yes > // then disable the viewonly option button > if ((names[i].equalsIgnoreCase("viewonly desktop")) && > (s.equalsIgnoreCase("yes")) ) { > disableViewonlyDesktop(); > } > . > 120a > choices[viewonlyDesktopIndex].select("No"); > . > 73a > > . > 72a > boolean viewonlyDesktop; > . > 50c > rawPixelDrawingIndex = 3, copyRectFastIndex = 4, shareDesktopIndex = 5, > viewonlyDesktopIndex = 6; > . > 46a > { "Yes", "No" }, > . > 37a > "Viewonly desktop", > . > > > > :::::::::::::: > rfbProto.diff > :::::::::::::: > 476a > > // if we are set to readonly > // then don't process any mouse or kbd events > if (v.options.viewonlyDesktop) { > return; > } > > . > 419a > > > // if we are set to readonly > // then don't process any mouse or kbd events > if (v.options.viewonlyDesktop) { > return; > } > > . > _______________________________________________ > VNC-List mailing list > [EMAIL PROTECTED] > http://www.realvnc.com/mailman/listinfo/vnc-list > _______________________________________________ > VNC-List mailing list > [EMAIL PROTECTED] > http://www.realvnc.com/mailman/listinfo/vnc-list _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] http://www.realvnc.com/mailman/listinfo/vnc-list
