将 Delphi 7 pgm 限制到公司 LAN
情况:我有一个在 Delphi 7 中编写的许可程序,该程序允许用户为已售出的产品创建许可证。这存在安全风险,因为任何员工都可以在家销售产品并将许可计划带回家并创建许可证 - 他们会偷窃,而我们永远不会知道!
我认为限制许可 pgm 仅在公司 LAN 内部运行可能是个好主意。
是否建议执行诸如查找命名服务器是否存在或测试其是否在特定子网上运行之类的操作?如果是的话,欢迎任何例子:)
Situation: i have a licencing program that i wrote in Delphi 7, this allows users to create licences for products that have been sold. There is a security risk with this because any employee could sell the products from home and take the licencing program home and create licences - they would be stealing and we would never know!
I thought it might be a good idea to restrict the licencing pgm to run only when its inside the corporate lan.
Is it advisable to do things like looking for the existance of a named server, or to test if its being run on a particular subnet? And if so any examples would be welcome :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
有一个简单的解决方案:将其设为 Web 服务,或者至少仅在一台或多台服务器上运行的应用程序上实现许可证创建。这将允许每个可以通过网络访问服务器的人创建许可证。在您的网络之外 - 受防火墙保护 - 无法进行访问,因此没有人可以自行创建许可证。
There is one easy solution: Make it a web service or at least implement the license creation only on a an application that runs on one or more servers. This would allow everybody who can access the server(s) via network to create licenses. Outside of your network - protected by a firewall - no access is possible and therefore no-one can create licenses on his/her own.
其中要包括的一件事是计算机领域。大多数企业都有一个难以复制的域名。对于您正在开发供内部使用的应用程序,您也可以检查是否存在多个服务器。
One thing to include in the mix is the domain of the computer. Most businesses have a domain that will be harder to reproduce. For an app you are developing for internal use, you could check for presence of a number of servers too.