We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

I deploying the latest version of Firefox to my company and wanted to grey out/disable the sync option ...can anyone help me with this please?

  • 9 ردود
  • 2 have this problem
  • 1 view
  • آخر ردّ كتبه cor-el

more options

I want to disable/grey the sync feature so that users cannot have this functionality as per my companies security policies...is this possible?

I want to disable/grey the sync feature so that users cannot have this functionality as per my companies security policies...is this possible?

All Replies (9)

more options

hi daneklad, please refer to http://kb.mozillazine.org/Locking_preferences for a method to lock certain preferences when deploying firefox. in your particular instance, you'll want to set services.sync.enabled to false...

more options

Hi,

Thanks for the quick reply....i have this all setup with regards to the config file etc...i had tried to input the services.sync.enabled to false, but when i launch firefox again, it still appears and gives me the option to sign in and sync a device....

more options

can you check if the lock file really applies, by entering about:config into the firefox addressbar and seeing if "services.sync.enabled" is displayed in italics there and in a locked state?

more options

I can confirm that it is applying as the "services.sync.enabled" is showing as a locked feature which i cant change in the browser

more options

ok, so this might only apply to the old sync service in use until firefox 29. you could try locking these prefs as well:

lockPref("services.sync.serverURL", "");
lockPref("services.sync.engine.addons", false);
lockPref("services.sync.engine.bookmarks", false);
lockPref("services.sync.engine.history", false);
lockPref("services.sync.engine.passwords", false);
lockPref("services.sync.engine.prefs", false);
lockPref("services.sync.engine.tabs", false);

it will still be possible to sign up/login in the user interface then, but any real syncing should be made impossible then - please double-check that with a real account though...

more options

Note that you can also run JavaScript with chrome privileges via mozilla.cfg, so you can consider to disable the about:accounts page.

more options

I have tried the cck2 to import the preferences but this does not work. It doesn't change any of the preferences specified....

more options

I found that by going to about:config and double clicking on the entries I wished to lock, they would toggle to the desired state.

By logging in to Firefox on another machine, I was able to confirm that while logged in to the same account, I was unable to sync Firefox between the two machines: Adding favorites in one or the other did not sync, Remembering passwords did not sync between the machines.

As yet, I am not sure where this configuration information is maintained, as the contents of the mozilla.cfg file did not change.

more options

Note that you can also set String prefs services.sync.*URL to an empty string value to prevent connecting to the Sync server via a lockPref() call.