窗口上“安全”文件的最佳位置(best place for “secure” file on windows)

编程入门 行业动态 更新时间:2024-10-24 17:22:48
窗口上“安全”文件的最佳位置(best place for “secure” file on windows)

我为一个客户编写了一个程序。 我为他实施了许可方法(签名的XML文件)。 该客户希望应用程序只能在其客户的PC上安装一次,并且希望我能“保证”这一点......尤其是因为他的许可证是有时间限制的。 这些电脑没有互联网接入。 我告诉他这绝对是愚蠢的,并且无法获得这种东西(例如VM),但他至少想要一点“安全”。

现在我正在寻找Windows机器上的一个好地方,它可以被每个用户(无UAC)写入,我可以在其中存储一些“秘密”数据(例如,上次使用的时间),这样用户就不能只在PC。

他也不应该只能删除应用程序文件夹,设置时间,重新安装和使用该程序,也不应该通过删除实际用户并使用新创建的软件来完成此操作。

我知道这真的很愚蠢,但我的客户坚持如此...

我试图找到一些地方,但迄今为止没有运气。

做一些你知道的符合这些要求的目录吗?

I have written a program for one customer. I implemented a licensing method for him (signed XML files). This customer wants the application to be installed only once on his customer's PC, and wants me to "secure" this ... especially because his licenses are time-limited. Those PCs do not have internet access. I told him this is absolutely stupid and it's not able to secure this kind of thing (VM eg.), but he wants at least a little "security".

Now I am looking for a good place on a Windows machine that is writable by every user (no UAC), where I can store some "secret" data (e.g. last time used) so the user can't just turn back time on the PC.

He should also not be able to just delete the application folder, set back the time, reinstall and use the program, nor should he be able to do this by deleting the actual user and using the software from a new created one.

I know this is something really really stupid, but my customer insists so...

I tried finding some places but with no luck so far.

Do any one you know of some directory that meets these requirements?

最满意答案

也许注册表会更好? 雅,这真是一个可怕的要求。 也许你可以将安装日期作为安装过程的一部分编码到XML文件中,也许可以以某种方式对其进行混淆。

Ok. I took a little of everyones suggestions :) I am putting the file unter {sys}{My-GUID}\ and granting this directory full-permissions for everyone in my setup (innosetup)

Think this should be ... ok ... somehow :)

And @ NullUserException : He is paying my car ... i can't fire him :)

Thanks for your answers

更多推荐

本文发布于:2023-08-03 07:48:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1385256.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:窗口   位置   文件   place   file

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!