Enable MIME Sniffing
Activer la détection MIME
Explanation
This policy setting allows you to manage MIME sniffing for file promotion from one type to another based on a MIME sniff. A MIME sniff is the recognition by Internet Explorer of the file type based on a bit signature.
If you enable this policy setting, the MIME Sniffing Safety Feature will not apply in this zone. The security zone will run without the added layer of security provided by this feature.
If you disable this policy setting, the actions that may be harmful cannot run; this Internet Explorer security feature will be turned on in this zone, as dictated by the feature control setting for the process.
If you do not configure this policy setting, the actions that may be harmful cannot run; this Internet Explorer security feature will be turned on in this zone, as dictated by the feature control setting for the process.
Ce paramètre de stratégie permet de gérer la détection MIME pour la promotion des fichiers d’un type vers un autre. La détection MIME est la reconnaissance par Internet Explorer du type d’un fichier à partir de sa signature binaire.
Si vous activez ce paramètre de stratégie, la fonctionnalité de sécurité de détection MIME ne s’applique pas à cette zone. La zone de sécurité s’exécute sans la protection supplémentaire offerte par cette fonctionnalité.
Si vous désactivez ce paramètre de stratégie, les actions potentiellement dangereuses ne peuvent pas s’exécuter ; cette fonctionnalité de sécurité d’Internet Explorer est activée dans cette zone, comme demandé par le paramètre de contrôle des fonctionnalités de ce processus.
Si vous ne configurez pas ce paramètre de stratégie, les actions potentiellement dangereuses ne peuvent pas s’exécuter ; cette fonctionnalité de sécurité d’Internet Explorer est activée dans cette zone, comme demandé par le paramètre de contrôle des fonctionnalités de ce processus.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\4HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\4- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Computer (HKLM)
Enable
# Enable: inetres/IZ_PolicyMimeSniffingURLaction_8
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\4'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Enable MIME Sniffing
# Possible options:
# Enable = 0
# Disable = 3
Set-ItemProperty -Path $k -Name '2100' -Value 3 -Type DWordDisable
# Disable: inetres/IZ_PolicyMimeSniffingURLaction_8
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/IZ_PolicyMimeSniffingURLaction_8
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\4'
Remove-ItemProperty -Path $k -Name '2100' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Enable MIME SniffingActiver la détection MIMEIZ_Partname2100 | Drop-down listenum | 2100 | REG_DWORD | Required · Default choice (UI): #1
|