X
Πατήστε εδώ για μετάβαση στην έκδοση της ιστοσελίδας για κινητές συσκευές.

Φόρουμ υποστήριξης

Security Exceptions

Δημοσιεύτηκε

We need to use a 32 bit Firefox ESR 38.5.1 because of an outdated crucial app in our organizaton

We are in the process of upgrading from Windows7 to Windows10 and now the policies.js file, located in "c:\program files (x86)\Mozilla Firefox\defaults\pref" does not work on the windows 10 computers.

We need to add a couple of url:// security exceptions to all Firefox browsers on these new machines and Icannot find what config file has these exceptions.

Can you tell me where there security exceptions are written to in windows 10 so that we can deploy them as part of the installation?

We need to use a 32 bit Firefox ESR 38.5.1 because of an outdated crucial app in our organizaton We are in the process of upgrading from Windows7 to Windows10 and now the policies.js file, located in "c:\program files (x86)\Mozilla Firefox\defaults\pref" does not work on the windows 10 computers. We need to add a couple of url:// security exceptions to all Firefox browsers on these new machines and Icannot find what config file has these exceptions. Can you tell me where there security exceptions are written to in windows 10 so that we can deploy them as part of the installation?

Επιπρόσθετες λεπτομέρειες συστήματος

Εφαρμογή

  • Πλατφόρμα χρήστη: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36

Περισσότερες πληροφορίες

jscher2000
  • Top 10 Contributor
8700 λύσεις 71111 απαντήσεις
Δημοσιεύτηκε

Usually a whatever.js file in --

C:\Program Files (x86)\Mozilla Firefox\defaults\pref

-- will point to a second file, located in the program folder --

C:\Program Files (x86)\Mozilla Firefox

-- often named mozilla.cfg.

Is the problem that your pref() or lockPref() commands in mozilla.cfg (or whatever your file is called) are not working?

Ref. http://kb.mozillazine.org/Locking_preferences

Usually a ''whatever.js'' file in -- C:\Program Files (x86)\Mozilla Firefox\defaults\pref -- will point to a second file, located in the program folder -- C:\Program Files (x86)\Mozilla Firefox -- often named ''mozilla.cfg''. Is the problem that your pref() or lockPref() commands in ''mozilla.cfg'' (or whatever your file is called) are not working? Ref. http://kb.mozillazine.org/Locking_preferences
Δημοσιεύτηκε

Ιδιοκτήτης ερώτησης

Both files are there, but the add on sites, do not load in the options, security, exceptions window. After you copied over the policies.js file you would see the exceptions in the list.

Kat

Both files are there, but the add on sites, do not load in the options, security, exceptions window. After you copied over the policies.js file you would see the exceptions in the list. Kat
jscher2000
  • Top 10 Contributor
8700 λύσεις 71111 απαντήσεις
Δημοσιεύτηκε

Hi Kat, I can't think of any reason for the files to work differently on Windows 7 and Windows 10.

What is the code you are using to give sites permission to install extensions? As far as I know, the "install" permissions end up being saved in a SQLite database named permissions.sqlite in the user's profile folder. Of course, I can't check Firefox 38.

Hi Kat, I can't think of any reason for the files to work differently on Windows 7 and Windows 10. What is the code you are using to give sites permission to install extensions? As far as I know, the "install" permissions end up being saved in a SQLite database named '''permissions.sqlite''' in the user's profile folder. Of course, I can't check Firefox 38.
Δημοσιεύτηκε

Ιδιοκτήτης ερώτησης

pref("general.config.obscure_value", 0); pref("general.config.filename", "mozilla.cfg");


/* Add-on Installation allowed sites */ {

 "policies": {
   "InstallAddonsPermission": {
     "Allow": ["http://cfaov3prd2.carpenterfunds.com/",
               "http://cfaov3tst.carpenterfunds.com/"]
     "Default": [true], /* If this is set to false, add-ons cannot be installed by the user */
   }
 }

}

Here is the script that is in the default/pref folder.

Kat

pref("general.config.obscure_value", 0); pref("general.config.filename", "mozilla.cfg"); /* Add-on Installation allowed sites */ { "policies": { "InstallAddonsPermission": { "Allow": ["http://cfaov3prd2.carpenterfunds.com/", "http://cfaov3tst.carpenterfunds.com/"] "Default": [true], /* If this is set to false, add-ons cannot be installed by the user */ } } } Here is the script that is in the default/pref folder. Kat
cor-el
  • Top 10 Contributor
  • Moderator
17482 λύσεις 157978 απαντήσεις
Δημοσιεύτηκε

A policies.json file with policies in JSON format like you posted needs to be in the distribution folder. The two pref lines do not have to be in the policies.json file.

  • pref("general.config.obscure_value", 0);
  • pref("general.config.filename", "mozilla.cfg");

The autoconfig file with the file name set via a .js file in the defaults/pref folder that can store pref() calls to set or lock prefs needs to be in the main Firefox program folder where the .exe file is located.

About policies, see also:

A policies.json file with policies in JSON format like you posted needs to be in the distribution folder. The two pref lines do not have to be in the policies.json file. * pref("general.config.obscure_value", 0); * pref("general.config.filename", "mozilla.cfg"); The autoconfig file with the file name set via a .js file in the defaults/pref folder that can store pref() calls to set or lock prefs needs to be in the main Firefox program folder where the .exe file is located. *https://support.mozilla.org/en-US/kb/customizing-firefox-using-group-policy *https://support.mozilla.org/en-US/kb/customizing-firefox-using-policiesjson *https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig About policies, see also: *https://github.com/mozilla/policy-templates/blob/master/README.md