DSM plugin


http://www.s-code.com/forum/Topic1714.aspx
Print Topic | Close Window

By psmith - Wednesday, October 24, 2007
I'm curious about the RC4 key file used by the DSM plugin within the ActiveX Viewer/Server. Is their a way to send the RC4 key value as part of the HTML/Javascript that loads the ActiveX control or does a key file already have to exist on the client PC? I want to be able to use the DSM plugin without requiring my customers to download a key file. Any suggestions?
By Alex (s-code) - Wednesday, October 24, 2007
Actually we could add a property to ServerX to specify DSM key as a byte buffer instead of passing a dsm keyfile path. I think something like that maybe availalbe within next couple weeks.
By psmith - Thursday, October 25, 2007
That would be fantastic! Would this feature be added to ViewerX as well?

This would enable web applications to distribute unique keys via HTTPS for every VNC session. All of a sudden pre-shared keys don't sound that bad...

Many thanks!

By psmith - Thursday, October 25, 2007
One more question...

Would we pass a base64 encoded RC4 key?

By Alex (s-code) - Thursday, October 25, 2007
Would we pass a base64 encoded RC4 key?

Most probably it will be possible to pass a RC4 key as a byte array as well as base64 encoded string.
By Alex (s-code) - Thursday, October 25, 2007
That would be fantastic! Would this feature be added to ViewerX as well?

Why not, ViewerX would benefit from such addition.
By Yury Averkiev (s-code) - Wednesday, November 05, 2008
Just an update to this long overdue thread. Current development build of ViewerX has this feature implemented.

In the COM programming terms, the API accepts RC4 key as a SAFEARRAY of unsigned char.
In case of .Net what you will have to do is simply read a key to a byte[] array and pass it to a ViewerX instance.

We are planning to release a new ViewerX build together with the VNC Manager v4.5 release. But we can offer a development build for testing to anyone interested.