Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

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?

  • 3 odpovede
  • 1 má tento problém
  • 5 zobrazení
  • Posledná odpoveď od cor-el

more options

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

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)

more options

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/

more options

Hi Amy,

It would be really helpful if you could post an example.

more options

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.