Lista de permitidos HTTP: valor del Registro HttpAllowlist (WebView2)UsuarioHKCU\Software\Policies\Microsoft\Edge\WebView2
- Id. de directiva
- HttpAllowlist
- Ámbito
- Configuración del equipo, configuración de usuario
- Compatible con
- Microsoft Edge, versión 123, Windows 7 o posterior
- Origen
- Microsoft Edge Policy Templates (versión 155.0.4283.45)
- Categoría
- Microsoft Edge WebView2
Registro
(valores de lista)
REG_SZEquipoUsuario…\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlistHKLM\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist
HKCU\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist
HKCU\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist
- Valor al habilitar
- Depende del valor de la opción
- Elemento
- Lista de permitidos HTTP
- Tipo de valor
- REG_SZ
- Nombre de valor explícito
- true
Aplicar con .reg · CMD · PowerShell
EquipoConfiguración global del equipo
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist] "<introducir nombre>"="<introducir valor>"
CMD
reg add "HKLM\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist" /v "<introducir nombre>" /t REG_SZ /d "<introducir valor>" /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 '<introducir nombre>' -PropertyType String -Value '<introducir valor>' -Force | Out-Null
UsuarioConfiguración por cuenta
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist] "<introducir nombre>"="<introducir valor>"
CMD
reg add "HKCU\Software\Policies\Microsoft\Edge\WebView2\HttpAllowlist" /v "<introducir nombre>" /t REG_SZ /d "<introducir valor>" /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 '<introducir nombre>' -PropertyType String -Value '<introducir valor>' -Force | Out-Null