Level 2

How to make a file that user can read, but not write


I want to distribute s/w licenses as encrypted files. I create a new file every time someone buys a licensee & email it out, with instructions to put it in a certain directory.

The PHP code which the user runs should be able to unencrypt the file (and the code is obfuscated to stuff him hacking that). Obviously the user should not be able to write a similar file.

Let's not discuss whether this is worth it. I have been ordered to implement it, so ... how do I go about it? Can I use public key encryption and give him one key?


Labels (1)
0 Kudos
1 Reply
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @KevinGrennanson  ,

FNP provides some official guidelines for delivering the license certificate . You can refer "Delivering the License Certificate" under the FNP development environment guide for the same but apart from these guidelines we do not provide any recommendation. In addition to the components you would ship , your end users eventually need a license certificate. Depending on your internal policies, this can be shipped with your installation kit, or shipped separately. 

0 Kudos