PDF security API

Protect sensitive PDF documents with a secure PDF API for enterprise workflows. Add password protection, disable printing, restrict copying, and apply access controls for secure document delivery, regulated workflows, and enterprise document handling.

Custom document protection

Add passwords, disable printing, and restrict copying so only authorized users can access or interact with protected PDFs.

Enterprise-ready security workflows

Use PDF permissions and password protection as part of a broader DWS platform with built-in security, privacy, and SOC 2 Type 2 controls for enterprise evaluations.

Simple and transparent pricing

Select a package that suits your needs according to the number of credits you wish to spend. Each API tool and action has a specific credit cost.

Used by Lufthansa, Disney, Autodesk, UBS, Dropbox, IBM
Lufthansa
Disney
Autodesk
UBS
Dropbox
IBM

Try it out

This example protects a document with a password.


Try it out in three steps

  1. Add a PDF named document.pdf to your project folder.
  2. Run the code from the same folder.
  3. Open result.pdf to see the output.
curl -X POST https://api.nutrient.io/build \
-H "Authorization: Bearer your_api_key_here" \
-o result.pdf \
--fail \
-F document=@document.pdf \
-F instructions='{
"parts": [
{
"file": "document"
}
],
"output": {
"type": "pdf",
"owner_password": "owner-password",
"user_password": "user-password",
"user_permissions": [
"printing",
"modification",
"extract",
"annotations_and_forms",
"fill_forms",
"extract_accessibility",
"assemble",
"print_high_quality"
]
}
}'

Start now

Create an account to access your API key and start with 50 free credits per month

Start building with DWS Processor API in minutes — no payment information required.

Already have an account? Sign in →

Getting started

Use the PDF security guide for passwords and permissions. Then continue to Processor pricing and DWS security documentation for broader enterprise evaluation.


Security is our top priority

No document storage

No input or resulting documents are stored on our infrastructure. All files are deleted as soon as a request finishes. Alternatively, check out our self-hosted product.

HTTPS encryption

All communication between your application and Nutrient is done via HTTPS to ensure your data is encrypted when it’s sent to us.

Safe payment processing

All payments are handled by Paddle. Nutrient DWS Processor API never has direct access to any of your payment data.

PDF security API questions

What is the PDF security API?

The PDF security API adds password protection and permission controls to PDF documents over a REST endpoint. It’s one action in the Nutrient DWS Processor API, so you can combine it with conversion, OCR, redaction, and other document actions in a single request.

How do I encrypt or password-protect a PDF via the API?

Send the document with an owner password, a user password, or both, and the API returns the protected PDF. The PDF security guide covers passwords and permissions with ready-to-use examples in JavaScript, Python, Java, PHP, and HTTP (curl).

What PDF permissions can I apply?

You can disable printing, restrict copying and content extraction, and control modification so only authorized users can interact with protected documents. Permissions are applied per request, which makes them easy to automate for document delivery workflows.

Is the PDF security API SOC 2-compliant?

Yes. The API runs on the Nutrient DWS platform, which is SOC 2 Type 2-audited. See the security documentation for the full compliance and document-handling review.

Are my documents stored after processing?

No. Input and output files are deleted as soon as a request finishes, and all communication uses HTTPS. Nothing is retained on Nutrient’s infrastructure after the protected PDF is returned.

Can I combine PDF protection with digital signatures?

Yes. If the workflow also needs certificate-based signing, use the digital signatures API alongside password protection and permissions in the same Processor pipeline.

Is there a free tier for the PDF security API?

Yes. Sign up to receive free processing credits and test password protection before choosing a plan. Per-credit rates are listed on the Processor API pricing page.

Ready to try it?

Create an account to get your DWS Processor API key and start making API calls.