Tag Archives: Lock Files in CSharp

How to Password Protect and Remove Protection from Word Documents using C#

Let's discuss how we can restrict the access to the Word documents by making them password protected. We have already learned to lock and unlock PDF, and PowerPoint files. In this article, we will see how to password protect a Word document using C#. Further, we will learn to remove the password to unlock Word documents, and lastly, how to change the existing password of DOC & DOCX files within the .NET applications.

The following topics are discussed in this article:

  • .NET API to Password Protect Word Documents
  • Add Password to Word Document
  • Change Password of Word Document
  • How to Remove Password from Word Document
Posted in GroupDocs.Merger Product Family | Tagged , , , , ,