Elenco indirizzi HTTP consentiti: valore del Registro di sistema HttpAllowlist (WebView2)ComputerHKLM\Software\Policies\Microsoft\Edge\WebView2

ID criterio
HttpAllowlist
Ambito
Configurazione computer, Configurazione utente
Supportato in
Microsoft Edge versione 123, Windows 7 o versione successiva
Origine
Microsoft Edge Policy Templates (versione 155.0.4283.45)
Categoria
Microsoft Edge WebView2

Registro

(valori dell'elenco)

REG_SZComputerUtente
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Elenco indirizzi HTTP consentiti
Tipo di valore
REG_SZ
Nome del valore esplicito
true
Applica con .reg · CMD · PowerShell
ComputerImpostazione globale del computer
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist]
"<inserisci nome>"="<inserisci valore>"
CMD
reg add "HKLM\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist" /v "<inserisci nome>" /t REG_SZ /d "<inserisci valore>" /f
PowerShell
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist' -Name '<inserisci nome>' -PropertyType String -Value '<inserisci valore>' -Force | Out-Null
UtenteImpostazione per account
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist]
"<inserisci nome>"="<inserisci valore>"
CMD
reg add "HKCU\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist" /v "<inserisci nome>" /t REG_SZ /d "<inserisci valore>" /f
PowerShell
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist' -Name '<inserisci nome>' -PropertyType String -Value '<inserisci valore>' -Force | Out-Null