控制不安全來源中安全性限制套用的地方 的登錄值 OverrideSecurityRestrictionsOnInsecureOrigin (OverrideSecurityRestrictionsOnInsecureOrigin)電腦HKLM\Software\Policies\Microsoft\Edge\OverrideSecurityRestrictionsOnInsecureOrigin

原則 ID
OverrideSecurityRestrictionsOnInsecureOrigin
適用範圍
電腦設定、使用者設定
支援的作業系統
Microsoft Edge版本 77,Windows 7 或更新版本
來源
Microsoft Edge Policy Templates (版本 155.0.4283.45)
類別
Microsoft Edge

登錄

(清單值)

REG_SZ電腦使用者
啟用時的值
取決於選項值
元素
控制不安全來源中安全性限制套用的地方
值類型
REG_SZ
值名稱前置詞
-
以 .reg · CMD · PowerShell 套用
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge\OverrideSecurityRestrictionsOnInsecureOrigin]

; 每個清單項目新增一個值,編號依序遞增
"1"="<輸入值>"
"2"="<輸入值>"
CMD
:: 每個清單項目新增一個值,編號依序遞增

reg add "HKLM\Software\Policies\Microsoft\Edge\OverrideSecurityRestrictionsOnInsecureOrigin" /v "1" /t REG_SZ /d "<輸入值>" /f
reg add "HKLM\Software\Policies\Microsoft\Edge\OverrideSecurityRestrictionsOnInsecureOrigin" /v "2" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 每個清單項目新增一個值,編號依序遞增

New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge\OverrideSecurityRestrictionsOnInsecureOrigin' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\OverrideSecurityRestrictionsOnInsecureOrigin' -Name '1' -PropertyType String -Value '<輸入值>' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\OverrideSecurityRestrictionsOnInsecureOrigin' -Name '2' -PropertyType String -Value '<輸入值>' -Force | Out-Null
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge\OverrideSecurityRestrictionsOnInsecureOrigin]

; 每個清單項目新增一個值,編號依序遞增
"1"="<輸入值>"
"2"="<輸入值>"
CMD
:: 每個清單項目新增一個值,編號依序遞增

reg add "HKCU\Software\Policies\Microsoft\Edge\OverrideSecurityRestrictionsOnInsecureOrigin" /v "1" /t REG_SZ /d "<輸入值>" /f
reg add "HKCU\Software\Policies\Microsoft\Edge\OverrideSecurityRestrictionsOnInsecureOrigin" /v "2" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 每個清單項目新增一個值,編號依序遞增

New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge\OverrideSecurityRestrictionsOnInsecureOrigin' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\OverrideSecurityRestrictionsOnInsecureOrigin' -Name '1' -PropertyType String -Value '<輸入值>' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\OverrideSecurityRestrictionsOnInsecureOrigin' -Name '2' -PropertyType String -Value '<輸入值>' -Force | Out-Null