GroupDocs.Merger for Python via .NET provides a complete set of security operations that let you protect and manage document access. You can add, update, or remove open passwords on documents in any supported format, and apply fine-grained permission restrictions to PDF files.
Available Operations
Add document password — encrypt a document with a new password using AddPasswordOptions.