X
Tap here to go to the mobile version of the site.

منتدى الدعم

Security Exceptions

Posted

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?
Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36

More Information

jscher2000
  • Top 10 Contributor
8642 solutions 70690 answers

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
Was this helpful to you? 0
Quote

Question owner

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
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8642 solutions 70690 answers

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.
Was this helpful to you?
Quote

Question owner

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
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17424 solutions 157436 answers

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
Was this helpful to you?
Quote
اطرح سؤالا

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.