# PDF file password protection

This feature allows adding parameter to the query's url, in it's value we put password with which we want to encrypt the pdf file.

{% hint style="info" %}
if tool/method we use for querying does not automatically encode url, we need to provide the password in encoded form in accordance to standard html url encoding.
{% endhint %}

This is available through "Sign document" method, by adding "encrypt" parameter. The detailed implementation setup with example is available at:

{% embed url="<https://docs.signius.eu/api/seal-api/client-methods/document-methods#sign-document>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.signius.eu/manuals/signius-sealing-server-and-client/signius-sealing-client/features/pdf-file-password-protection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
