大家好,小编来为大家解答以下问题,python如何设置软件有效期,python的应用软件,现在让我们一起来看看吧!
为什么比较日期的if语句不能为您解决这个问题呢?
最好的方法可能是将数据包含到软件中,这些数据确实需要保持最新,以便对最终用户有用,如TurboTax中的纳税表。当然,这种商业策略的可用性取决于您的应用程序和市场Python自动化运维:提高效率与降低成本的关键。
你说过代码是源代码可读的。你还能做什么?你可以有很多这样的如果。。。但是grep、perl或其他python脚本也可以很快找到它们,并很快将其修复以重新工作。如果你有一个5美元产品的市场,一个恼火的客户可能会把禁用日期的脚本分发给他的朋友,或者通过网络。
这就像行李挂锁。只对诚实的人有效。。。但也许这已经足够好了。
您可以在源代码中的critical if语句旁边放置一个DMCA通知。if语句是防止在许可证日期之后使用的措施。找个好律师。你的里程可能不同。
维基百科在DMCA的“反规避”项下有这样的内容:Circumvention of Access Controls
Section 103 (17 U.S.C Sec. 1201(a)(1))
of the DMCA states: No person shall
circumvent a technological measure
that effectively controls access to a
work protected under this title. The
Act defines what it means in Section
1201(a)(3): (3) As used in this
subsection—
(A) to 「circumvent a technological
measure」 means to descramble a
scrambled work, to decrypt an
encrypted work, or otherwise to avoid,
bypass, remove, deactivate, or impair
a technological measure, without the
authority of the copyright owner; and
(B) a technological measure
「effectively controls access to a
work」 if the measure, in the ordinary
course of its operation, requires the
application of information, or a
process or a treatment, with the
authority of the copyright owner, to
gain access to the work. Thus, if
there is some "technological measure
that effectively controls access to a
work", it is illegal to circumvent
that measure. However, Section 1201
creates several exceptions to this
rule, and the Library of Congress is
empowered to create additional
exceptions.
如果您的日期在用公钥签名的GPG签名字符串中。。。然后我告诉你这个过期信息字符串。。。有著作权人的授权。你也可以检查是否篡改了公钥,但不明显的是,你必须这样做,因为这是非法的规避。。。
注:自由软件先驱理查德史泰尔曼(Richard Stallman)有一个理论,即竞争往往会消除软件中的反功能,如付费墙、烦人的提醒等