# Load the password-protected documents The page describes how to load the password protected PDF, Word, Excel, PowerPoint documents using GroupDocs.Annotation for .NET. [GroupDocs.Annotation](https://products.groupdocs.com/annotation/net) allows you to annotate documents that are protected with a password. To load a password protected file, follow these steps: 1. Instantiate the [Annotator](https://reference.groupdocs.com/net/annotation/groupdocs.annotation/annotator) class. Specify the document path or stream. 2. Instantiate the [LoadOptions](https://reference.groupdocs.com/net/annotation/groupdocs.annotation.options/loadoptions) class. Specify the source document password as a parameter. The following code snippet shows how to load a password protected file: {{< tabs "example1">}} {{< tab "C#" >}} ```csharp using (Annotator annotator = new Annotator("input.pdf", new LoadOptions() { Password = "1234" })) { AreaAnnotation area = new AreaAnnotation() { Box = new Rectangle(100, 100, 100, 100), BackgroundColor = 65535, }; annotator.Add(area); annotator.Save("result.pdf"); } ``` {{< /tab >}} {{< /tabs >}}