How to sign remote applications and skip enablePrivilege???
[email protected] (Henrik Nordstrom) 3 Dec 2002 06:24:33 -0800
| Newsgroups | gmane.comp.mozilla.devel.xpcom |
|---|---|
| Organization | http://groups.google.com/ |
| Message-ID | <[email protected]> |
Hello!
We hade developed an application using XPCOM-components. The only
solution we have discoved so far to access XPCOM-components is to
set...
user_pref("signed.applets.codebase_principal_support", true);
...in the prefs.js file and added the line...
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
...to the JavaScript file.
We want to sign the application so these two lines can be skipped. Is
this possible??? We have successfully signed a jar-archive and our
JavaScript-files, but we still need these two lines...why???
We don´t want the users to edit their prefs.js-file to use our
application...
//Henrik