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

How to permanantly disable the save password feature in firefox?

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

more options

I don't want my users to save their password on the browser. Is there a way to disable password manager or gray-out the remember password box (without selecting never remembering history option) so that users are not able to save their passwords.

I don't want my users to save their password on the browser. Is there a way to disable password manager or gray-out the remember password box (without selecting never remembering history option) so that users are not able to save their passwords.

Giải pháp được chọn

You use the mozilla.cfg file to lock signon.rememberSignons to false.

//
lockPref("signon.rememberSignons", false);

You can use the mozilla.cfg file in the Firefox program folder to set or lock preferences and run privileged JavaScript code.

A local-settings.js file needs to be placed in the "defaults/pref" folder where also the channel-prefs.js file is located to specify using mozilla.cfg.

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

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

The mozilla.cfg and local-settings.js files need to start with a comment line (//).

See Configuration:

See also:

Đọc câu trả lời này trong ngữ cảnh 👍 1

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

more options

Type about:preferences#security<enter> in the address bar.

Under Logins, Turn off Remember Logins. To check the passwords you have listed, press Saved Logins.

more options

What do you mean by your users. Are you supplying computers for office use, or deploying Firefox within a network for instance ?

I often say when people ask about disabling Firefox features what else are you doing to improve security and for instance prevent people from for instance

  • Using a new Firefox profile.
  • Installing an additional browser
  • Using a browser or even a complete OS from external media.

If your question relates to controlling children then they probably know more about computers than you do. They probably have their own devices or access to other devices and other networks, so again you may not be able to win by trying to restrict Firefox features.

Not too sure if you are trying to prevent use of passwords, or prevent them being saved, if so maybe that is because you realise saving passwords on a browser even with a Firefox master password is probably not as secure as many people imagine.

more options

@john99

What i actually want to do is prevent people from saving their passwords in their browsers. Is it possible to create a policy or something.

more options

Giải pháp được chọn

You use the mozilla.cfg file to lock signon.rememberSignons to false.

//
lockPref("signon.rememberSignons", false);

You can use the mozilla.cfg file in the Firefox program folder to set or lock preferences and run privileged JavaScript code.

A local-settings.js file needs to be placed in the "defaults/pref" folder where also the channel-prefs.js file is located to specify using mozilla.cfg.

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

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

The mozilla.cfg and local-settings.js files need to start with a comment line (//).

See Configuration:

See also:

more options

@Cor-el Your solution works for windows. But i'm unable to do the same for linux. I can't find defaults/pref directory. Do i need to create one?

more options

I'm on Linux myself and I'm using mozilla.cfg without any problems to change some default pref settings.

You should have the defaults/pref folder in the Firefox installation folder if you have a version from the Mozilla server since that is the location of channel-prefs.js (stores app.update.channel). A Firefox from the repositories may not have this folder and file. You will have to see if it works if you create the defaults/pref folder and the local-settings.js in it.

I even have a file in it that sets a dictionary path

  • pref("spellchecker.dictionary_path", "/usr/share/myspell");
more options

@Cor-el Thank you. I had to lookup for the folder, finally I found it. Thanks a ton.