# Document Protection

> Protect documents with EditMode and a password in VB6, set document permissions, mark editable regions for users and check what the user may change.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control ActiveX > Document Editor > Document Protection
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/document-editor/protection/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/document-editor/protection/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/document-editor/protection/llms-full.txt

---

## On This Page

- [How Document Protection Works](https://docs.textcontrol.com/tx-text-control-activex/document-editor/protection/#how-document-protection-works)
- [Set the Document Permissions](https://docs.textcontrol.com/tx-text-control-activex/document-editor/protection/#set-the-document-permissions)
- [Protect the Document](https://docs.textcontrol.com/tx-text-control-activex/document-editor/protection/#protect-the-document)
- [Mark Editable Regions](https://docs.textcontrol.com/tx-text-control-activex/document-editor/protection/#mark-editable-regions)
- [Give Users Access](https://docs.textcontrol.com/tx-text-control-activex/document-editor/protection/#give-users-access)
- [Find the Region at the Input Position](https://docs.textcontrol.com/tx-text-control-activex/document-editor/protection/#find-the-region-at-the-input-position)
- [Change How Editable Regions Are Highlighted](https://docs.textcontrol.com/tx-text-control-activex/document-editor/protection/#change-how-editable-regions-are-highlighted)
- [Check What the User May Do](https://docs.textcontrol.com/tx-text-control-activex/document-editor/protection/#check-what-the-user-may-do)
- [Key Members](https://docs.textcontrol.com/tx-text-control-activex/document-editor/protection/#key-members)
- [Related Pages](https://docs.textcontrol.com/tx-text-control-activex/document-editor/protection/#related-pages)

---

## Nearby

- **Previous:** [Comments](https://docs.textcontrol.com/tx-text-control-activex/document-editor/comments/llms.txt)
- **Next:** [Spell Checking](https://docs.textcontrol.com/tx-text-control-activex/document-editor/spell-checking/llms.txt)
