Policy
Turn off the WebSocket Object
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
The WebSocket object allows websites to request data across domains from your browser by using the WebSocket protocol. This policy setting allows administrators to enable or disable the WebSocket object. This policy setting does not prevent client-side communication across domains via other features in Internet Explorer 10. Also, this policy setting does not prevent a site from requesting cross-domain data through a server. If you enable this policy setting, websites cannot request data across domains by using the WebSocket object. If you disable or do not configure this policy setting, websites can request data across domains by using the WebSocket object. By default, the WebSocket object is enabled.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_WEBSOCKET\iexplore.exe | REG_DWORD | 0 | 1 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- ComputerAllow native XMLHTTP supportAt least Internet Explorer 7.0
- UserAllow native XMLHTTP supportAt least Internet Explorer 7.0
- UserChange the maximum number of connections per host (HTTP 1.1)At least Internet Explorer 8.0
- ComputerChange the maximum number of connections per host (HTTP 1.1)At least Internet Explorer 8.0
- UserMaximum number of connections per server (HTTP 1.0)At least Internet Explorer 8.0
- ComputerMaximum number of connections per server (HTTP 1.0)At least Internet Explorer 8.0
- ComputerSet the maximum number of WebSocket connections per serverAt least Internet Explorer 10.0
- UserSet the maximum number of WebSocket connections per serverAt least Internet Explorer 10.0
- ComputerTurn off cross-document messagingAt least Internet Explorer 8.0
- UserTurn off cross-document messagingAt least Internet Explorer 8.0
- UserTurn off the WebSocket ObjectAt least Internet Explorer 10.0
- ComputerTurn off the XDomainRequest objectAt least Internet Explorer 8.0