Turn on Basic feed authentication over HTTP
Activer l’authentification de flux basique sur HTTP
Explanation
This policy setting allows users to have their feeds authenticated through the Basic authentication scheme over an unencrypted HTTP connection.
If you enable this policy setting, the Windows RSS Platform authenticates feeds to servers by using the Basic authentication scheme in combination with a less secure HTTP connection.
If you disable or do not configure this policy setting, the Windows RSS Platform does not authenticate feeds to servers by using the Basic authentication scheme in combination with a less secure HTTP connection.
A developer cannot change this policy setting through the Feed APIs.
Ce paramètre de stratégie permet l’authentification des flux des utilisateurs via le schéma d’authentification basique sur une connexion HTTP non chiffrée.
Si vous activez ce paramètre de stratégie, la plateforme RSS de Windows authentifie les flux vers les serveurs en utilisant le schéma d’authentification de base combiné à une connexion HTTP moins sécurisée.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, la plateforme RSS de Windows n’authentifie pas les flux vers les serveurs en utilisant le schéma d’authentification de base combiné à une connexion HTTP moins sécurisée.
Un développeur ne peut pas modifier ce paramètre de stratégie via les API de flux.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\FeedsHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Feeds- Value name
AllowBasicAuthInClear
| 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/Allow_Basic_Feed_Auth_In_Clear
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Feeds'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowBasicAuthInClear' -Value 1 -Type DWordDisable
# Disable: inetres/Allow_Basic_Feed_Auth_In_Clear
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Feeds'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowBasicAuthInClear' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/Allow_Basic_Feed_Auth_In_Clear
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Feeds'
Remove-ItemProperty -Path $k -Name 'AllowBasicAuthInClear' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"