# WebSocket Security

> Secure the Document Editor's WebSocket: wss, a token check in the handshake, allowed origins, endpoints that take connection IDs and the private backend link.

- **Product:** TX Text Control .NET Server
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control .NET Server > Security > WebSocket Security
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/security/websockets/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/security/websockets/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/security/websockets/llms-full.txt

---

## On This Page

- [Use an Encrypted Connection](https://docs.textcontrol.com/tx-text-control-dotnet-server/security/websockets/#use-an-encrypted-connection)
- [Check the Handshake](https://docs.textcontrol.com/tx-text-control-dotnet-server/security/websockets/#check-the-handshake)
- [Restrict the Origins](https://docs.textcontrol.com/tx-text-control-dotnet-server/security/websockets/#restrict-the-origins)
- [Protect Endpoints That Take a Connection ID](https://docs.textcontrol.com/tx-text-control-dotnet-server/security/websockets/#protect-endpoints-that-take-a-connection-id)
- [Keep the Backend Connection Private](https://docs.textcontrol.com/tx-text-control-dotnet-server/security/websockets/#keep-the-backend-connection-private)
- [Next Steps](https://docs.textcontrol.com/tx-text-control-dotnet-server/security/websockets/#next-steps)

---

## Nearby

- **Previous:** [Access Tokens](https://docs.textcontrol.com/tx-text-control-dotnet-server/security/access-tokens/llms.txt)
- **Next:** [Document Security](https://docs.textcontrol.com/tx-text-control-dotnet-server/security/documents/llms.txt)
