Web应用程序和硬件交互

发布于 2024-09-07 12:55:47 字数 254 浏览 0 评论 0原文

首先,如果已经有人问过这个问题,请允许我道歉,但我似乎找不到可靠的答案。

是否有任何 Web 应用程序语言或相关流程允许 Web 应用程序与本地 PC 硬件交互?我想看看是否有一种方法可以让网页界面与本地扫描仪设备一起捕获、写入文件和上传图像。我读过一些有关 Silverlight 能够从 USB 密钥读取数据的内容,但这就是我所发现的范围。

任何对此的想法或寻找更多信息的地方的想法将不胜感激。

提前致谢!

First off, let me apologize if this has been asked already, but I can’t seem to locate a solid answer.

Is there any web application language or related process that will allow a web app to interact with the local PC hardware? I am trying to see if there is a way to have a web page interface with a local scanner device to capture, write file, and upload the images. I read something about Silverlight being able to read from USB keys, but that is the extent of what I have found.

Any thoughts on this or ideas of places to look for more information would be greatly appreciated.

Thanks in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦巷 2024-09-14 12:55:47

如果您的意思是希望应用程序与运行浏览器的计算机进行交互,那么,不,这将是一个严重的安全漏洞。

您可以使用 ActiveX 控件或 SilverLight 来创建对客户端计算机具有更多访问权限的应用程序。

您还可能最好创建一个在用户系统上运行并将数据上传到您的 Web 服务器的 ClickOnce 应用程序。

顺便说一句,您似乎假设用户正在 PC 上运行。如果他们使用 Linux 工作站或 Macintosh 该怎么办?

If you mean that you want the application to interact with the machine that is running the browser, then, no, that would be a serious security hole.

You can use ActiveX controls, or maybe SilverLight to create applications that have more access to the client machine.

You might also be better off creating a ClickOnce application that runs on the users system and uploads the data to your web server.

BTW, you seem to be assuming that the user is running on a PC. What if they'e using a Linux workstation, or a Macintosh?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文