Background to this problem: Within out company we are working on an add-on to help us do some nifty things. To make it easier to administer we would like to have a password required to at minimum remove the add-on, but probably also to disable it.
I've seen this achieved in for example Public Fox but this is non-sdk style add-on. So my question is if there's an easy way to do this using the SDK? I've looked through the docs but I haven't found anything, probably because I don't know what I'm looking for.
To anticipate the question "why not use that add-on as well?" I think it's enough of a hassle to make sure everyone has one add-on installed, let alone two.
If you want to lock users down, what you're really looking for is a deployment technique where your Firefox deployment installs your extension by default, and to an area of the hard drive that the user does not have write/delete access to. See the Mozilla Wiki for more details on ESR builds and enterprise deployments: