Originally Posted by
Absolute
One way around this is to create a completely separate table, with licence_id, order_product_id, licence_key, activation_date, and possibly mac_code, or unique_pc_id. You can then, when the order is created add the new licence code to the table. If your customer buys two copies, add 2 entries. Next, create a new db user, which allows read-only on the customers table, and read/write on the new licence table. All other tables MUST be restricted.
You can then use your software to communicate with your MySQL database on activation to find out if the licence key has already been used, and if it has, was it used on the same PC? If so, then this is just a re-install, rather than a new install, and should be allowed.
Bookmarks