HTTPS-Only Mode: valore del Registro di sistema HttpsOnlyModeComputerHKLM\Software\Policies\Mozilla\Firefox
Nessuna descrizione ufficiale in italiano (originale inglese)
- ID criterio
- HttpsOnlyMode
- Ambito
- Configurazione computer, Configurazione utente
- Supportato in
- Firefox 127 or later
- Origine
- Mozilla Firefox Policy Templates (versione 8.3)
- Categoria
- Mozilla › Firefox
Registro
HttpsOnlyMode
REG_SZComputerUtente…\Software\Policies\Mozilla\FirefoxHKLM\Software\Policies\Mozilla\Firefox Chiave corrente
HKCU\Software\Policies\Mozilla\Firefox
HKCU\Software\Policies\Mozilla\Firefox
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- -
| Voce | Valore memorizzato |
|---|---|
| Off by default | allowed |
| Off and locked | disallowed |
| On by default | enabled |
| On and locked | force_enabled |
Applica con .reg · CMD · PowerShell
ComputerImpostazione globale del computer
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox] ; Opzioni (usarne solo una) ; Off by default "HttpsOnlyMode"="allowed" ; Off and locked "HttpsOnlyMode"="disallowed" ; On by default "HttpsOnlyMode"="enabled" ; On and locked "HttpsOnlyMode"="force_enabled"
CMD
:: Opzioni (usarne solo una) :: 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
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Force | Out-Null # Opzioni (usarne solo una) # 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
UtenteImpostazione per account
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Mozilla\Firefox] ; Opzioni (usarne solo una) ; Off by default "HttpsOnlyMode"="allowed" ; Off and locked "HttpsOnlyMode"="disallowed" ; On by default "HttpsOnlyMode"="enabled" ; On and locked "HttpsOnlyMode"="force_enabled"
CMD
:: Opzioni (usarne solo una) :: 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
# Comune: crea la chiave New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Force | Out-Null # Opzioni (usarne solo una) # 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