In short we are looking into how we can TRACK files after they are downloaded i.e. if they are leaked or published to find out which user was responsible for doing so. Here is the idea:
Every User who registers to our site logs in using SteamPowered.com's OpenID system binding their steam account to the account in which the transactions are handled meaning we can print data like "steam id, purchase time, order number etc" into the file properties.
Step 1: Developer Uploads Scripts
Step 2: Macro codes (place holders) are placed into the zip
Step 3: PHP executes the same as above but on the script contents.
Step 4: User Purchases the Product
Step 5: User Downloads Product and the place holders turn to trackable data as mentioned above.
Step 6: User leaks the files
Step 7: We can view the files and the properties of the "leaked" document and find out who did it and suspend/terminate the account.
This is in short what we are looking to achieve. Due to the nature of most of the content being written in lua its not like we can just create a "anti-leak" code which a novice coder couldn't learn how to remove with enough time and leak it anyway. We just want a way to catch the offenders.
Does anybody have any ideas how we could do all this using php, curl, xml etc. (running on CPanel 11 - Apache 2.4 - PHP 5.3)