Origens ou padrões de nome do host aos quais as restrições sobre origens não seguras não se aplicam: valor do Registro UnsafelyTreatInsecureOriginAsSecure (UnsafelyTreatInsecureOriginAsSecure)ComputadorHKLM\Software\Policies\Google\Chrome\UnsafelyTreatInsecureOriginAsSecure

ID da política
UnsafelyTreatInsecureOriginAsSecure
Escopo
Configuração do Computador, Configuração do Usuário
Compatível com
Microsoft Windows 7 ou versão posterior
Fonte
Google Chrome Policy Templates (versão 156.0.8078.80)
Categoria
Google › Google Chrome › Políticas suspensas

Registro

(valores da lista)

REG_SZComputadorUsuário
Valor habilitado
Depende do valor da opção
Elemento
Origens ou padrões de nome do host aos quais as restrições sobre origens não seguras não se aplicam
Tipo de valor
REG_SZ
Prefixo do nome do valor
-
Aplicar com .reg · CMD · PowerShell
ComputadorConfiguração global do computador
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\UnsafelyTreatInsecureOriginAsSecure]

; Adicione um valor por entrada da lista, aumentando o número
"1"="<inserir valor>"
"2"="<inserir valor>"
CMD
:: Adicione um valor por entrada da lista, aumentando o número

reg add "HKLM\Software\Policies\Google\Chrome\UnsafelyTreatInsecureOriginAsSecure" /v "1" /t REG_SZ /d "<inserir valor>" /f
reg add "HKLM\Software\Policies\Google\Chrome\UnsafelyTreatInsecureOriginAsSecure" /v "2" /t REG_SZ /d "<inserir valor>" /f
PowerShell
# Adicione um valor por entrada da lista, aumentando o número

New-Item -Path 'HKLM:\Software\Policies\Google\Chrome\UnsafelyTreatInsecureOriginAsSecure' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome\UnsafelyTreatInsecureOriginAsSecure' -Name '1' -PropertyType String -Value '<inserir valor>' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome\UnsafelyTreatInsecureOriginAsSecure' -Name '2' -PropertyType String -Value '<inserir valor>' -Force | Out-Null
UsuárioConfiguração por conta
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome\UnsafelyTreatInsecureOriginAsSecure]

; Adicione um valor por entrada da lista, aumentando o número
"1"="<inserir valor>"
"2"="<inserir valor>"
CMD
:: Adicione um valor por entrada da lista, aumentando o número

reg add "HKCU\Software\Policies\Google\Chrome\UnsafelyTreatInsecureOriginAsSecure" /v "1" /t REG_SZ /d "<inserir valor>" /f
reg add "HKCU\Software\Policies\Google\Chrome\UnsafelyTreatInsecureOriginAsSecure" /v "2" /t REG_SZ /d "<inserir valor>" /f
PowerShell
# Adicione um valor por entrada da lista, aumentando o número

New-Item -Path 'HKCU:\Software\Policies\Google\Chrome\UnsafelyTreatInsecureOriginAsSecure' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome\UnsafelyTreatInsecureOriginAsSecure' -Name '1' -PropertyType String -Value '<inserir valor>' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome\UnsafelyTreatInsecureOriginAsSecure' -Name '2' -PropertyType String -Value '<inserir valor>' -Force | Out-Null