HTTPS-Only Mode: wartość rejestru HttpsOnlyModeKomputerHKLM\Software\Policies\Mozilla\Firefox

Brak oficjalnego tekstu w tym języku (wyświetlono oryginał angielski)

Identyfikator zasady
HttpsOnlyMode
Zakres
Konfiguracja komputera, Konfiguracja użytkownika
Obsługiwane w systemach
Firefox 127 or later
Źródło
Mozilla Firefox Policy Templates (wersja 8.3)
Kategoria
Mozilla › Firefox

Rejestr

HttpsOnlyMode

REG_SZKomputerUżytkownik
…\Software\Policies\Mozilla\FirefoxHKLM\Software\Policies\Mozilla\Firefox Bieżący klucz
HKCU\Software\Policies\Mozilla\Firefox
Wartość włączona
Zależy od wartości opcji
Element
-
Opcje
PozycjaZapisana wartość
Off by defaultallowed
Off and lockeddisallowed
On by defaultenabled
On and lockedforce_enabled
Zastosuj przez .reg · CMD · PowerShell
KomputerUstawienie dla całego komputera
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox]

; Opcje (użyj tylko jednej)
; Off by default
"HttpsOnlyMode"="allowed"
; Off and locked
"HttpsOnlyMode"="disallowed"
; On by default
"HttpsOnlyMode"="enabled"
; On and locked
"HttpsOnlyMode"="force_enabled"
CMD
:: Opcje (użyj tylko jednej)

:: Off by default
reg add "HKLM\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "allowed" /f
:: Off and locked
reg add "HKLM\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "disallowed" /f
:: On by default
reg add "HKLM\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "enabled" /f
:: On and locked
reg add "HKLM\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "force_enabled" /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Off by default
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'allowed' -Force | Out-Null
# Off and locked
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'disallowed' -Force | Out-Null
# On by default
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'enabled' -Force | Out-Null
# On and locked
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'force_enabled' -Force | Out-Null
UżytkownikUstawienie dla każdego konta
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Mozilla\Firefox]

; Opcje (użyj tylko jednej)
; Off by default
"HttpsOnlyMode"="allowed"
; Off and locked
"HttpsOnlyMode"="disallowed"
; On by default
"HttpsOnlyMode"="enabled"
; On and locked
"HttpsOnlyMode"="force_enabled"
CMD
:: Opcje (użyj tylko jednej)

:: Off by default
reg add "HKCU\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "allowed" /f
:: Off and locked
reg add "HKCU\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "disallowed" /f
:: On by default
reg add "HKCU\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "enabled" /f
:: On and locked
reg add "HKCU\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "force_enabled" /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Off by default
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'allowed' -Force | Out-Null
# Off and locked
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'disallowed' -Force | Out-Null
# On by default
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'enabled' -Force | Out-Null
# On and locked
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'force_enabled' -Force | Out-Null