Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

HTTPs Only Mode

  • 7 답장
  • 1 이 문제를 만남
  • 1 보기
  • 최종 답변자: Mike Kaply

more options

Hello, I have a problem with setting up HTTPs only Mode in my Organization, I read a lot about that, but I dont see the "dom.security.https_only_mode" switch in GPO, we have the newest admx for Firefox. We need that to specific container, but still I dont know how to set it up, even via regedit, or preferences. Can someone describe me when can I set it up ? It could be using json file (which exactly file and how?), registry or just gpo. Regards, M.

Hello, I have a problem with setting up HTTPs only Mode in my Organization, I read a lot about that, but I dont see the "dom.security.https_only_mode" switch in GPO, we have the newest admx for Firefox. We need that to specific container, but still I dont know how to set it up, even via regedit, or preferences. Can someone describe me when can I set it up ? It could be using json file (which exactly file and how?), registry or just gpo. Regards, M.
첨부된 스크린샷

선택된 해결법

For mozilla.cfg, you would just add

pref("dom.security.https_only_mode", true);

What do you see when you to about:policies where policy isn't working?

I would strongly recommend you move away from mozilla.cfg if you can, we have much better options now.

문맥에 따라 이 답변을 읽어주세요 👍 1

모든 댓글 (7)

more options

That's the old preferences policy that only set a subset of preferences.

You can now set arbitrary preferences using the Preferences policy:

https://mozilla.github.io/policy-templates/#preferences

more options

should I configure it in a policies.json file, localized at C:\Program Files\Mozilla Firefox\distribution ? Which policies is responsible for HTTPs only mode? I don't see any responding to this. I dont even know if that file works, I set it like this for the test:

{

 "policies": {
   "DisableAppUpdate": true,
   "DisableTelemetry": true,
   "DisableDefaultBrowserAgent": false,
   "DisplayBookmarksToolbar": "never"
 }

}

and every time I open FF, I see a bookmarks toolbar. Should I set something else on cfg or somewhere to that policies.json file works ?

I think in our version ESR, we are using mozilla.cfg file to config any options, is there any idea to configure HTTPs Only Mode in this file? Or do You know any samples or variables in configuration mozilla.cfg file?

more options

선택된 해결법

For mozilla.cfg, you would just add

pref("dom.security.https_only_mode", true);

What do you see when you to about:policies where policy isn't working?

I would strongly recommend you move away from mozilla.cfg if you can, we have much better options now.

more options

ok I found where and what to change in mozilla.cfg file to set that, thanks for Help Mike

more options

If you need help moving from mozilla.cfg, feel free to reach out to me.

more options

Soon I think I will need help to moving from mozilla.cfg to policies.json :) but not for now, is it hard to change that major config file?

more options

It depends on how many settings you have :).

I'd go through and figure out what you need in policy.