Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Disable Create New Profile

  • 6 个回答
  • 0 人有此问题
  • 最后回复者为 pqwoenqr34

more options

Can you add a configuration setting to Mozilla Firefox to disable Create New Profile, configurable in the policies.json file? (A second option but a much uglier one would be to disable being able to select a file location for a new profile. Then you could make the default profile directory write only, which would also accomplish the same thing.) (A third option would be to able to configure extensions by default upon installation in the ExtensionSettings policy.)

To explain, I use LeechblockNG on Firefox on Ubuntu. Very helpful. By placing a policies.json file (see at bottom) in /etc/firefox/policies/ directory, I can create a system wide policy. I can make the LeechblockNG extension mandatory and to be installed upon every new profile creation. That all works very well. HOWEVER, there is NO way to be able to set those options in the new profile. So LeechblockNG is installed with default options (which are no blocking at all), which effectively bypasses the addon.

I am also writing the author of the leechblock extension to see if there is any way to set the options for leechblock upon installation (the third option above).

But I know other people have this same question, and at present, if I am correct, there is no way to block new profile creation, or the Profile Manager window in Firefox.

So could you please add that option to the Firefox policies.json configuration? Something like "DisableNewProfiles": true would do it.

Thanks!

My current policies.json file in /etc/firefox/policies/ directory: { "policies": { "BlockAboutConfig": true, "BlockAboutProfiles": true, "PrivateBrowsingModeAvailability": 1, "DisableSafeMode": true, "ExtensionSettings":{ "*": { "installation_mode": "blocked", "blocked_install_message": "Prohibited install more extensions." }, "leechblockng@proginosko.com": { "installation_mode": "force_installed", "install_url": "https://addons.mozilla.org/firefox/downloads/file/4374316/leechblock_ng-1.6.6.xpi" } } } }

Can you add a configuration setting to Mozilla Firefox to disable Create New Profile, configurable in the policies.json file? (A second option but a much uglier one would be to disable being able to select a file location for a new profile. Then you could make the default profile directory write only, which would also accomplish the same thing.) (A third option would be to able to configure extensions by default upon installation in the ExtensionSettings policy.) To explain, I use LeechblockNG on Firefox on Ubuntu. Very helpful. By placing a policies.json file (see at bottom) in /etc/firefox/policies/ directory, I can create a system wide policy. I can make the LeechblockNG extension mandatory and to be installed upon every new profile creation. That all works very well. HOWEVER, there is NO way to be able to set those options in the new profile. So LeechblockNG is installed with default options (which are no blocking at all), which effectively bypasses the addon. I am also writing the author of the leechblock extension to see if there is any way to set the options for leechblock upon installation (the third option above). But I know other people have this same question, and at present, if I am correct, there is no way to block new profile creation, or the Profile Manager window in Firefox. So could you please add that option to the Firefox policies.json configuration? Something like "DisableNewProfiles": true would do it. Thanks! My current policies.json file in /etc/firefox/policies/ directory: { "policies": { "BlockAboutConfig": true, "BlockAboutProfiles": true, "PrivateBrowsingModeAvailability": 1, "DisableSafeMode": true, "ExtensionSettings":{ "*": { "installation_mode": "blocked", "blocked_install_message": "Prohibited install more extensions." }, "leechblockng@proginosko.com": { "installation_mode": "force_installed", "install_url": "https://addons.mozilla.org/firefox/downloads/file/4374316/leechblock_ng-1.6.6.xpi" } } } }

所有回复 (6)

more options

Note that you normally do not specify a specific extension version, but use a link the get the latest version, you need the ID of the extension. See install_url:

有帮助吗?

more options

Thanks for the note. But that still doesn't solve my problem. I note that Google Chrome does have such an option, but Firefox does not. On Google Chrome, the policy option is called: BrowserAddPersonEnabled There are also other helpful policies on Google Chrome like: BrowserGuestModeEnabled. But the BrowserAddPersonEnabled would be the one I would love to see on Firefox.

有帮助吗?

more options

I asked the author of LeechblockNG, and he suggested either:

1. Making the profile directory write-only (but there is an easy to bypass this, just select a different directory to put the profile in). 2. Forking the LeechblockNG code to start with the proper settings. (Not a great option, complicated, and misses future updates.)

I'm thinking of switching to a different browser unless I hear back on this subject. LeechblockNG is available on Chrome and it does have the BrowserAddPersonEnabled policy option. So that's probably where I will go. Too bad. But I'll wait for a reply first.

有帮助吗?

more options

I would love to be able to restrict Create New Profile to administrators only, but I don't know how. There is no configuration option in Mozilla Firefox currently, to my knowledge. That is precisely my question. I am using Mozilla Firefox on Ubuntu. If you want more details, I would be happy to share them. Thanks for the answer!

有帮助吗?

more options

To disable the "Create New Profile" option, follow these steps based on your system or platform:

For Software Applications:

Check the settings or permissions section within the application. Look for options to restrict profile creation and disable it. For Websites:

Adjust the admin or backend settings. Disable the feature under user management or account settings. For Enterprise Systems:

Use role-based access control to limit permissions. Restrict the feature to admins only. If these options aren't available, refer to the platform's documentation or contact support.

有帮助吗?

more options

So I guess there is no way this option will be added to Firefox? I think that means I'm moving to Chrome, sorry! Chrome has that option; it's a shame that Firefox (which copies the json configuration) can't add a similar configuration option like Chrome has: DisableNewProfiles.

有帮助吗?

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题