---
title: "Secure PDF API: Password-protect PDF & disable printing | Nutrient Integrations"
canonical_url: "https://www.nutrient.io/guides/document-converter/document-converter-services/document-security/"
md_url: "https://www.nutrient.io/guides/document-converter/document-converter-services/document-security.md"
last_updated: "2026-06-09T10:25:14.368Z"
description: "Explore document security features with the Nutrient Document Converter API. Apply encryption, password protection, and permissions to safeguard your files."
---

# Secure PDF API

Secure PDF and MS Office documents using our REST API or by deploying our PDF library in your self-hosted server. Add passwords to your PDF files or restrict the copying and printing of documents in your application. Easily integrate with code samples available in C#, Java,.NET, PHP, and JavaScript.

- [C#](https://www.nutrient.io/guides/document-converter/document-converter-services/document-security/csharp.md)

- [Java](https://www.nutrient.io/guides/document-converter/document-converter-services/document-security/java.md)

- [.NET](https://www.nutrient.io/guides/document-converter/document-converter-services/document-security/dotnet-core.md)

- [PHP](https://www.nutrient.io/guides/document-converter/document-converter-services/document-security/php.md)

- [JavaScript](https://www.nutrient.io/guides/document-converter/document-converter-services/document-security/javascript.md)
---

## Related pages

- [Sample code in C# for pattern redaction and highlighting](/guides/document-converter/document-converter-services/document-security/code-samples.md)
- [Secure PDF and MS Office documents with Java](/guides/document-converter/document-converter-services/document-security/java.md)
- [Secure and protect PDFs and Office documents in C#](/guides/document-converter/document-converter-services/document-security/csharp.md)
- [Secure your PDFs and Office files easily with .NET](/guides/document-converter/document-converter-services/document-security/dotnet-core.md)
- [WSDL URL.](/guides/document-converter/document-converter-services/document-security/pattern-redaction-using-python.md)
- [WSDL URL.](/guides/document-converter/document-converter-services/document-security/pattern-highlighting-using-python.md)
- [Secure PDF and Office documents with JavaScript](/guides/document-converter/document-converter-services/document-security/javascript.md)
- [Pattern redaction and highlighting with C#](/guides/document-converter/document-converter-services/document-security/pattern-redaction-and-highlighting.md)
- [Password protection for PDF documents in PHP](/guides/document-converter/document-converter-services/document-security/php.md)
- [Smart document redaction with C#](/guides/document-converter/document-converter-services/document-security/smart-redaction.md)

