描述: 这个网页是一个普通的html登录网页。当用户点击网页上的登录按钮输入用户和密码后,面部识别应用程序或exe需要自动启动/运行(此exe已安装在特定文件夹中的本地计算机上)。 示例: 要使用Facebook视频聊天,您需要安装插件。当用户第一次尝试使用视频聊天时,它会要求用户安装插件,当用户安装插件时,FacebookVideoCalling.exe和支持的dll是复制到特定文件夹中的客户端计算机(C:/ Users / Username / Appdata / Local / Facebook / video / skype)。如果用户点击视频聊天安装插件后,那个特定的exe将开始进行视频聊天(你可以看看在Taskmanager中运行exe的过程)当视频聊天关闭时,这个exe会被自动杀死。 所以我想要的方式相同o从网页启动exe。通过使用Facebook使用的相同逻辑,通过创建插件并从网页调用该插件。但是你需要担心视频流和exe中的所有其他内容,因为面部识别的exe已准备好它只是我们需要的使用插件或任何java脚本从浏览器调用该exe。对于测试,您可以使用机器中的任何exe。 如果我们使用Active X控件,这是有效的但是这只适用于IE,而且它并不是安全可靠的方法。所以更好的解决方案是创建一个基本的插件并从该网页调用一个进程或exe或应用程序。 注意:这适用于所有浏览器(IE,Chrome,Firefox等) 可能的情况尝试过: 1.我试过使用NPAPI插件,但是在这个插件中安全性不大。这只能在PPAPI插件中实现,任何人都可以帮助我如何创建
Description: This web page is a normal html login web page.After entering the user and password when the user click on login button in the webpage then a face recognition application or exe need to started/Runned automatically(This exe is already installed in the local machine in a particular folder). Example: To use the facebook video chat you need to install plugin.When the user tries to use video chat for the first time it will ask the user to install plugin and when the user installs plugin a FacebookVideoCalling.exe and a supported dll is copied in the client machine in a particular folder (C:/Users/Username/Appdata/Local/Facebook/video/skype).After installing plugin if the user clicks on video chat then that particular exe will started for video chat(you can see the process of exe running in Taskmanager) and when the video chat is closed this exe is killed automatically. so in the same way i want to start the exe from the web page. By using the same logic that facebook uses by creating a plugin and call that plugin from the web page.But you need to worry about the video stream and all other things in the exe because the exe for face recognition is ready its just that we need to call that exe from the browser using plugins or any java script.For testing you can use any exe in your machine. This was working if we use Active X control but this works only in IE and its not at all secure and reliable way to do it.So the better solution is to create a basic plugin and call a process or exe or application from that web page. Note: This should work in all browsers(IE,Chrome,Firefox etc) Possible scenarios tried: 1. I tried by using NPAPI plugins, But in this plugins are not much secure.This is only possible in PPAPI plugins can anyone help me how to create
推荐答案创建浏览器提供一些安全保障。这就是服务器部分与客户端部分完全隔离并且无法访问客户端系统的原因。从技术上讲,这也很简单,因为Web协议(HTTP,FTP)只支持数据交换,而实际的动作(例如呈现页面,向用户请求保存文件中的内容等等)是在客户端执行客户端代码,在服务器端执行服务器端代码。 如果Web应用程序可以在客户端执行任何操作,谁会合理地信任它?但是,IE可能会出现这种情况,但不要将此信息视为建议:您可以使用浏览器托管的ActiveX对象来实现。当然,它不适用于所有平台和浏览器。这被视为安全漏洞,几乎不应在所有情况下使用。如果一个注重安全的用户得知您使用了这样一个肮脏的技巧,那么这个人可能会决定将您的一方列入黑名单,这是有充分理由的。 但是,ActiveX方法是用于某些特殊情况。例如,这是一些销售具有预装软件的PC的PC供应商提供服务的方式。此外,一些企业环境仅在公司网络内部使用ActiveX,但对我来说,即使这意味着使用不可接受和不必要的不安全做法,告诉我它是以文盲方式组织的。 请参阅下面的评论。总的来说,插件似乎对我来说是一个更好的主意:用户只能信任您的站点(最好开发一些模式以防止网络钓鱼,这是一个单独的主题,并启用/禁用插件,具体取决于没有一种解决这个问题的通用方法:你应该为每个你能够或想要支持的浏览器学习插件技术。 root所有这些的原因和背景是这样的:当然,人脸识别看起来很有吸引力。问题是:在W3标准中的某些规定完成之前,它不能普遍安全地使用。标准允许使用密码认证可以顺利添加到网站功能,部分原因是因为键盘输入到浏览器是它的标准功能。除非相机或者说指纹输入的语音被W3标准支持,基于这种输入的安全性仍然是一个值得怀疑的问题商业,矛盾的是,从安全角度来看是有问题的观点。 实际上,这项工作已在进行中。请参阅2013年5月9日的W3C候选人建议书: www.w3/TR/html- media-capture / [ ^ ]。 只有采用此标准并由主流浏览器实施支持时,才能以100%合法的方式安全地进行基于人脸识别的身份验证。
更多推荐
如何从浏览器(IE,Chrome,Firefox等)启动应用程序或进程(.exe文件)
发布评论