`
yingyingol
  • 浏览: 746805 次
文章分类
社区版块
存档分类
最新评论

Remote desktop web access

 
阅读更多

微软提供了一个远程访问“同一个域内机器上安装的桌面应用”的方案,他们把这套方案称之为"Remote desktop service",即提供一个“共享给web用户的远程桌面服务”,这个服务为企业所谓的"Cloud services"提供某部分的技术支持,这也是我在最近项目中所参与的一小部分工作,为一个针对中小型企业的ERP写一个公用的web portal,所有的企业客户通过这个web portal登录,通过某些校验后,从服务端加载到远程桌面应用的配置命令,从而获得访问远程桌面应用的入口。

针对这个需求,写了一个小的sample,本文将针对这个sample做一个描述,它是仿照微软的Remote desktop web access写的。

【软件环境】

OS:win7

IDE:vs2010

Browser:IE8

既然是微软最近的方案,操作系统与浏览器必然有要求,操作系统至少是XP SP2或Server 2003 SP1,浏览器至少是IE6或者更高版本,你懂的。sample运行后,使用不对的操作系统版本或浏览器版本,会有JS弹出框提示。

【原理说明】

访问是基于ActiveX插件,内部实现被封装了,看不到源码。用起来比较简单,代码也没有什么含金量的东西,只是,如果用法不对,就达不到目的,由于没有拿到微软的代码,这个sample是通过Reflector和FF的firebug插件,边看边找,模仿着写出来的,这纠结的过程就不说了,去掉许多无关的一些东西,整理如下:



远程应用访问的参数配置是写死的,可以参照以下的配置生成配置命令:



值得注意的参数是full address,它意味着远程机器的IP地址

运行效果:

点击连接后,输入用户名密码即可打开远程机器上的word。

这里是源码下载地址,源码经过了测试,如果无法正常运行,请查看软件环境是否如文章开头所述,有问题可在评论区留言。

分享到:
评论

相关推荐

    microsoft remote desktop for mac 10

    Microsoft Remote Desktop for MAC 是微软为 OS X / ...* 通过 Remote Resources 访问 Remote Desktop Web Access Server (RD Web Access),可以实现在 mac 桌面上显示 Windows 程序窗口。 * 访问 Azure RemoteApp。

    Remote desktop sample

    Remote desktop service sample

    Getting.Started.with.Windows.VDI

    Explore the various parts of the VDI infrastructure such as the broker, web access server, and virtualization host Provide access for remote workers via any supported device Using a step-by-step ...

    Mastering LOB Development for Silverlight 5

    to implement information systems that support remote access via a standard web browser. Targeting an LOB application to run on a web platform adds greater complexity to such a development, bearing in ...

    guacamole-server-0.9.14.tar.gz

    Apache Guacamole is a clientless remote desktop gateway. It supports standard protocols like VNC, RDP, and SSH. We call it clientless because no plugins or client software are required. Thanks to ...

    Windows MicroXP 0.82[Microsoft Windows XP SP3原版加工成的微型XP系统,=99.9%个完整XP]

    There is no Remote Desktop in this version of Windows because the "Terminal Services" service is removed. NO THEMES You cannot have the Luna (Blue/Olive/Silver) desktop theme in this version of ...

    emacspeak 语音桌面

    By seamlessly blending all aspects of the Internet such as Web-surfing and messaging, Emacspeak speech-enables local and remote information via a consistent and well-integrated user interface....

    CentOS 7 Server Deployment Cookbook

    What You Will Learn * See how to deploy CentOS easily and painlessly, even in multi-server environments * Configure various methods of remote access to the server so you don't always have to be in ...

    Ubuntu Unleashed 2012 Edition: Covering 11.10 and 12.04 (7th Edition)

    Provide secure remote access Manage kernels and modules Administer file, print, email, proxy, LDAP, and database services (both SQL and NoSQL) Use both Apache and alternative HTTP servers Support ...

    Vista系统必备系统文件修改

    Remote Desktop Client only Client only Client only Yes Yes Domain join (Windows Server) Yes Yes IIS Web Server Yes Yes Yes Mobility features Home Basic Starter Home Premium Professional ...

    Sams.Publishing.Ubuntu.Unleashed.2008.Edition.pdf

    15 Remote Access with SSH and Telnet.......371 Part IV Ubuntu as a Server 16 File and Print...........381 17 Apache Web Server Management.......407 18 Remote File Serving with FTP.........439 19 ...

    UE(官方下载)

    How to check your JavaScript source code for common mistakes without actually running the script or opening the web page Character properties at your fingertips Access the properties of a character ...

    VB编程资源大全(英文源码 网络)

    Based on API code <END><br>20 , webbrowser.zip Easily build your very own custom web browser,using the web browser object<END><br>21 , StealthSRC.zip StealthMail 2.1 - full SOURCECODE for the ...

    CommonsWare.The.Busy.Coders.Guide.to.Android.Development.Version.8.2.2017

    Remote Services and the Binding Pattern Advanced Manifest Tips Miscellaneous Integration Tips Reusable Components Android Studio Editors and Dialogs Advanced Emulator Capabilities Lint and the Support...

    JAVA上百实例源码以及开源项目源代码

    Java 源码包 Applet钢琴模拟程序java源码 2个目标文件,提供基本的音乐编辑功能。编辑音乐软件的朋友,这款实例会对你有所帮助。 Calendar万年历 1个目标文件 EJB 模拟银行ATM流程及操作源代码 ...

    JAVA上百实例源码以及开源项目

    百度云盘分享 简介 笔者当初为了学习JAVA,收集了很多经典源码,源码难易程度分为初级、中级、高级等,详情看源码列表,需要的可以直接下载! 这些源码反映了那时那景笔者对未来的盲目,对代码的热情、执着,对...

    网管教程 从入门到精通软件篇.txt

    网管教程 从入门到精通软件篇 ★一。★详细的xp修复控制台命令和用法!!! 放入xp(2000)的光盘,安装时候选R,修复! Windows XP(包括 Windows 2000)的控制台命令是在系统出现一些意外情况下的一种非常有效的...

Global site tag (gtag.js) - Google Analytics