每天根据密钥更改密码
我想在我的程序中添加这样的功能:启动时工程师必须输入密码。
我认为每个工程师都会给出自己的密钥,并且基于该密钥和每日变化的公钥,它将允许他们访问该程序。
我这样想的原因是因为他们可能会在客户站点上留下一个需要保护的程序。如果某些内容每天都在变化,那么即使客户有一天知道密钥,也将无法访问它。
如果还有其他方法,我愿意,谢谢。
更新:该程序是一个许可证生成器,可以启用/禁用我们主程序的功能。显然,如果将其留在现场,那么我们可能会损失金钱。
I want to add the ability to my program that when it starts up an engineer has to enter a password.
I was thinking that each engineer is give their own key and based on this key and a daily changing public key it will allow them access to the program.
The reason I am thinking this way is because there is a program that they might leave at a customer's site which needs to be protected. If something is changing daily then the customer will not be able to access it even if they know a key on one day.
If there is some other approach I'm open to it thanks.
UPDATE: This program is a licence generator which enables/disables features for our main program . Obviously if this gets left on site then we lose money possibly.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以使用如下所示的 2 因素密钥卡: http://www.rsa.com /node.aspx?id=1156
You could use a 2-factor key fob like this: http://www.rsa.com/node.aspx?id=1156
为什么不直接将程序分发到 USB 记忆棒上并从那里运行,或者由于某种原因无法运行?它可以让您省去考虑密码的麻烦,U盘内容代码经过加密,因此即使丢失您也是安全的。
Why don't you just distribute the program on an USB stick and run from there or for some reason not possible? It would save you the trouble of thinking of a password, the usb stick contents code be encrypted so even if it is lost you are safe.
“我们”所做的是,我们有一个每日更换的密钥,需要输入到支持计划中。尽管该程序可以留在任何地方,但工程师只需访问(例如在 USB 记忆棒上)即可生成这些一日密钥。对此有多种变体可供选择。
这些密钥生成器工具当然可以为个人提供密钥。
What 'we' do is that we have a daily changing key that needs to be entered into the support program. Though the program can be left anywhere, engineers simply have access (for example on an USB stick) to generate these one-day keys. Variations on this are available.
These key generator tools can of course be keyed to individual personel.