HWID 锁定 PHP 页面?

发布于 2024-09-03 02:49:30 字数 225 浏览 6 评论 0原文

目前我销售一个程序,可以访问我的网页。该程序被 HWID(硬件 ID)锁定,我使用该程序访问网页而不是通过网络浏览器直接访问的唯一原因是这样我可以使用 HWID 身份验证。

但是,我刚刚被告知我可以编写一个脚本来获取计算机信息,例如硬件 ID 等。

这实际上完全可以在服务器端实现吗?如果可以的话,我可以用PHP来做吗?如果不是,这会是什么语言,我必须为此研究哪些功能?

Currently I sell a program, that accesses my webpage. The program is HWID (Hard Ware ID) locked, and the only reason I use the program to access the webpage instead of direct access via a webbrowser, is so that I can use HWID authentication.

However, I've just been told I can code a script to get computer information, such as hardware ID etc.

Is this actually possible completely server-side? If so, can I do it with PHP? If not, what language would this be, and what functions would I have to look into for this?

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

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

发布评论

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

评论(1

獨角戲 2024-09-10 02:49:30

无论谁告诉你这个,都会与其他事情混淆。

浏览器在任何时候都不会向 Web 服务器公开此类硬件信息,因此服务器端 PHP 脚本没有现有机制来获取访问者的 HWID。 JavaScript 提供的有关显示分辨率和颜色深度的信息非常有限,但肯定不是 HWID 之类的信息。很久以前,曾经可以在 IE 中使用 JavaScript 中的 ActiveX 对象通过 WMI 检索硬件信息,但您可以打赌这不再可能了,尤其是在非 Intranet 区域站点上。您肯定需要某种浏览器插件或扩展程序; Flash 不提供 HWID,因此您正在查看由您自定义编写的内容,这些内容必须在访问者访问之前或期间安装在访问者的计算机上。

您最好继续销售获取 HWID 本身然后访问您的网站的应用程序,因为这比为所有主要浏览器编写浏览器扩展和插件以安全的方式提供该信息要轻松得多。

Whoever told you that is confused with something else.

Browsers do not expose that kind of hardware information to a web server at any point, so there is no existing mechanism for a server-side PHP script to get a visitor's HWID. JavaScript provides very limited information about display resolution and color depth, but certainly not something like HWID. A very long time ago, it used to be possible to use ActiveX objects in JavaScript in IE to retrieve hardware information via WMI, but you can bet that's not possible anymore, especially on a non-intranet zone site. You'd most certainly need some kind of browser plugin or extension; Flash does not provide the HWID, so you're looking at something custom-written by you that must be installed on a visitor's machine either prior to or during their visit.

You're better off continuing to sell the app that gets the HWID itself and then accesses your web site, because that's going to be far less painful than writing browser extensions and plug-ins for all major browsers to provide that information in a secure way.

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