Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Disable history and password saving for all users via console and task bar drop down

  • 2 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi cor-el

more options

I am trying to find out how to disable the browsing history and ability to save passwords via console commands or editing a config file for CentOS 6.5+. I have tried many options, and have it only partially working.

Settings work when launched via console (/usr/bin/firefox, or just firefox) by adding the following to /usr/lib64/firefox/defaults/preferences/all-linux.js: pref("browser.privatebrowsing.autostart", true); pref("disable.password.save", true); pref("places.history.enabled", false);

However, these settings do not affect firefox when launched via the task bar drop down (Applications > Internet > Firefox Web Browser). I can manually edit the menu item by right-clicking on Applications on the task bar, but I need to have a way that I can change it via console, so it can be scripted for security hardening purposes.

Anyone have any ideas on how to get this to work?? Thanks in advance.

I am trying to find out how to disable the browsing history and ability to save passwords via console commands or editing a config file for CentOS 6.5+. I have tried many options, and have it only partially working. Settings work when launched via console (/usr/bin/firefox, or just firefox) by adding the following to /usr/lib64/firefox/defaults/preferences/all-linux.js: pref("browser.privatebrowsing.autostart", true); pref("disable.password.save", true); pref("places.history.enabled", false); However, these settings do not affect firefox when launched via the task bar drop down (Applications > Internet > Firefox Web Browser). I can manually edit the menu item by right-clicking on Applications on the task bar, but I need to have a way that I can change it via console, so it can be scripted for security hardening purposes. Anyone have any ideas on how to get this to work?? Thanks in advance.

Tất cả các câu trả lời (2)

more options

hi xion824, please refer to the guide at http://kb.mozillazine.org/Locking_preferences on how to deploy/lock certain preferences. in addition, please note that the right preference for disabling the storage of passwords is signon.rememberSignons (has to be set to false in this case).

more options

Note that a pref() call sets the pref on each Firefox start and that users are still able to make changes for the current session.

These functions can be used in the mozilla.cfg file:

defaultPref();	// set new default value
pref();		// set pref, allow changes in current session
lockPref();	// lock pref, disallow changes

See also Configuration: