Het gebruik van onveilige inhoudsuitzonderingen beheren: registerwaarde DefaultInsecureContentSettingComputerHKLM\Software\Policies\Microsoft\Edge

Beleids-ID
DefaultInsecureContentSetting
Bereik
Computerconfiguratie, Gebruikersconfiguratie
Ondersteund op
Microsoft Edge versie 80, Windows 7 of hoger
Bron
Microsoft Edge Policy Templates (versie 155.0.4283.45)
Categorie
Microsoft Edge › Inhoudsinstellingen

Register

DefaultInsecureContentSetting

REG_DWORDComputerGebruiker
…\Software\Policies\Microsoft\EdgeHKLM\Software\Policies\Microsoft\Edge Huidige sleutel
HKCU\Software\Policies\Microsoft\Edge
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Het gebruik van onveilige inhoudsuitzonderingen beheren
Opties
ItemOpgeslagen waarde
Niet toestaan dat sites gemengde inhoud laden2
Gebruikers toestaan om uitzonderingen toe te voegen om gemengde inhoud toe te staan3
Toepassen met .reg · CMD · PowerShell
ComputerInstelling voor de hele computer
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge]

; Opties (gebruik er maar één)
; Niet toestaan dat sites gemengde inhoud laden
"DefaultInsecureContentSetting"=dword:00000002
; Gebruikers toestaan om uitzonderingen toe te voegen om gemengde inhoud toe te staan
"DefaultInsecureContentSetting"=dword:00000003
CMD
:: Opties (gebruik er maar één)

:: Niet toestaan dat sites gemengde inhoud laden
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DefaultInsecureContentSetting" /t REG_DWORD /d 2 /f
:: Gebruikers toestaan om uitzonderingen toe te voegen om gemengde inhoud toe te staan
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DefaultInsecureContentSetting" /t REG_DWORD /d 3 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Opties (gebruik er maar één)
# Niet toestaan dat sites gemengde inhoud laden
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DefaultInsecureContentSetting' -PropertyType DWord -Value 2 -Force | Out-Null
# Gebruikers toestaan om uitzonderingen toe te voegen om gemengde inhoud toe te staan
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DefaultInsecureContentSetting' -PropertyType DWord -Value 3 -Force | Out-Null
GebruikerInstelling per account
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge]

; Opties (gebruik er maar één)
; Niet toestaan dat sites gemengde inhoud laden
"DefaultInsecureContentSetting"=dword:00000002
; Gebruikers toestaan om uitzonderingen toe te voegen om gemengde inhoud toe te staan
"DefaultInsecureContentSetting"=dword:00000003
CMD
:: Opties (gebruik er maar één)

:: Niet toestaan dat sites gemengde inhoud laden
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DefaultInsecureContentSetting" /t REG_DWORD /d 2 /f
:: Gebruikers toestaan om uitzonderingen toe te voegen om gemengde inhoud toe te staan
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DefaultInsecureContentSetting" /t REG_DWORD /d 3 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Opties (gebruik er maar één)
# Niet toestaan dat sites gemengde inhoud laden
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DefaultInsecureContentSetting' -PropertyType DWord -Value 2 -Force | Out-Null
# Gebruikers toestaan om uitzonderingen toe te voegen om gemengde inhoud toe te staan
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DefaultInsecureContentSetting' -PropertyType DWord -Value 3 -Force | Out-Null