I have created an AddOn. How I can protect it so that no one is able to unzip the XPI file, modify and repackage it?
I have created an XPI AddOn and I am planning to distribute it to my client.
The problem is that XPI can be opened using WinZip or WinRar and users can modify the contents and then repackage the modified contents as XPI again.
Is there a way to password protect the XPI file? Is there a way to add a Date based check so that I can control that no one uses it for more than 30 days?
Thanks, Ashish
Všetky odpovede (3)
Hi Ashish, while there are some steps, such as code obfuscation and XPI signing, that you can take to deter unauthorized modification of your add-on code, there is no way to make the contents of your XPI inaccessible to users that would not also make them inaccessible to Firefox itself. Please check out the AMO forums if you'd like to discuss further: https://forums.mozilla.org/addons/
Hi Amy,
It would be really helpful if you could post an example.
You can sign the XPI file if you want to prevent other from making changes to it, but you can't prevent other from inspecting the file this way.