Admin-approved behaviors
Comportements approuvés par l’administrateur
Explanation
For each zone, the Binary and Scripted Behavior security restrictions may be configured to allow only a list of admin-approved behaviors. This list may be configured here, and applies to all processes which have opted in to the behavior, and to all zones. (Behaviors are components that encapsulate specific functionality or behavior on a page.)
If you enable this policy setting, this sets the list of behaviors permitted in each zone for which Script and Binary Behaviors is set to 'admin-approved'. Behaviors must be entered in #package#behavior notation, e.g., #default#vml.
If you disable this policy setting, no behaviors will be allowed in zones set to 'admin-approved', just as if those zones were set to 'disable'.
If you do not configure this policy setting, only VML will be allowed in zones set to 'admin-approved'.
Note. If this policy is set in both Computer Configuration and User Configuration, both lists of behaviors will be allowed as appropriate.
Pour chaque zone, les restrictions de sécurité de comportements binaires et scriptés peuvent être configurées de façon à n’autoriser qu’une liste de comportements approuvés par l’administrateur. Cette liste peut être configurée ici, et s’applique à tous les processus qui ont souscrit au comportement, ainsi qu’à toutes les zones. (Les comportements sont des composants qui englobent une fonctionnalité ou un comportement spécifique sur une page.)
Si vous activez ce paramètre de stratégie, ceci définit la liste des comportements autorisés dans chaque zone pour lesquels les comportements scriptés et binaires sont définis comme étant approuvés par l’administrateur. Les comportements doivent être entrés dans la notation #package#behavior, par exemple #default#vml.
Si vous désactivez ce paramètre de stratégie, aucun comportement n’est autorisé dans les zones approuvées par l’administrateur, comme si elles étaient désactivées.
Si vous ne configurez pas ce paramètre de stratégie, seul VML est autorisé dans les zones approuvées par l’administrateur.
Remarque. Si vous activez ce paramètre de stratégie à la fois dans Configuration ordinateur et dans Configuration utilisateur, les deux listes de protocoles sont autorisées de manière appropriée.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet SettingsHKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings- Value name
ListBox_Support_AllowedBehaviors
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
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/IESF_Policy_BinaryBehaviorAdminAllow
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ListBox_Support_AllowedBehaviors' -Value 1 -Type DWord
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\AllowedBehaviors'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Enter the allowed behaviors here.
$values = @('<value1>', '<value2>') # Replace the values with your own
foreach ($v in $values) { Set-ItemProperty -Path $k -Name $v -Value $v -Type String }Disable
# Disable: inetres/IESF_Policy_BinaryBehaviorAdminAllow
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ListBox_Support_AllowedBehaviors' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/IESF_Policy_BinaryBehaviorAdminAllow
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings'
Remove-ItemProperty -Path $k -Name 'ListBox_Support_AllowedBehaviors' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\AllowedBehaviors'
Remove-Item -Path $k -Recurse -Force -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Enter the allowed behaviors here.Entrez ici les comportements autorisés.IESF_BinaryBehaviorAdminAllow | List (table)list | Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\AllowedBehaviorsNumbered values (1, 2, 3…) · additive | REG_SZ (values under the key) |