应用程序安全性:独立于系统日历的计数天数 [英] Application security: Counting days independent of system calander

查看:83
本文介绍了应用程序安全性:独立于系统日历的计数天数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想向我的应用程序试用版添加功能.首次激活后,我希望将其限制为90天.但是我担心用户更改系统日期,从而欺骗了我的应用程序.
是否有可能以一种即使在用户将压光机取回后,应用程序在首次激活90天后即失效的方式来实现简单的证明呢?首次激活日期已保存在数据库中.

非常感谢.
Furqan

Hi,
I want to add a feature to my trial version of the application. After first activation, I want to make it limited to 90 days. But I am concerned about user''s changing the date of system hence deceiving my application.
Is there any possibility to make it fool proof in a way that even if user takes the calender back, application expires after 90 days of first activation? First activation date has been saved in the database.

Thank you very much.
Furqan

推荐答案

您最好的选择是在客户端计算机上的某个位置具有隐藏的加密文件.在此文件中,您可以存储日期/时间,首先是在安装应用程序时,然后是每次客户端打开应用程序时,请检查此日期/时间,如果您存储的日期早于系统日期,则您知道用户更改了系统时间,然后可以关闭应用程序,通知用户许可证或某些内容存在差异.

希望对您有帮助
Your best bet would be have a hidden encrypted file, somewhere on the client machine. In this file you can store a date/time, first of all when the application is installed, thereafter every time the client opens the application, check this date/time and if your stored date is ahead of the system date then you know that the user has changed the system time, and you can then shut down the application, informing the user that there is a Discrepancy in the License or something.

Hope this helps


这篇关于应用程序安全性:独立于系统日历的计数天数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆