On 7/27/2014 6:12 PM, [email protected] wrote:
On 2014-07-27 16:05, [email protected] wrote:
I've got a couple potential clients for one of my softwares and want
to just give them a quick trial version with timebomb and forcing
local use (so no shared database). Honestly, the app uses the system
date so often that I'm not worried about the dudes resetting the
calendar to cheat the trial. If they went that route, it'd be
maddening for them so as I said, I don't care about that. However, I
do want to ensure that the app only looks locally for it's database in
a subfolder (.\data\) of the app's location. I'm thinking checking to
make sure the DRIVETYPE(JUSTDRIVE(MyDBCName.dbc)) = 3. Does that
sound like a good plan to enforce this constraint?
This is for an app I wrote back in 2003 but am retooling now to use
MySQL (MariaDB) on the backend on the web.
Michael: I have a registration program that assigns a unique key to a
customer. That key is used to turn on custom reports or activities in
the software for that customer only. I did a trial version once where I
put a number of days check in my registration program. The date and the
number of days left was stored in two different places on the system.
One in a data folder and one in an appdata folder. If they changed the
system date than I knew it and shut them out. If they tried to install
on a different computer, they would have to activate it. If they tried
to find and delete the file with the date & number of days in it, I knew
that too. Simple yet very effective.
--
Jeff
Jeff Johnson
[email protected]
SanDC, Inc.
623-582-0323
Fax 623-869-0675
http://www.san-dc.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.