Send a PDF and a password. The file is encrypted with AES-256 and needs the password to open. An optional owner password controls printing, copying and editing. The password is used once to encrypt and is never stored or logged.
Questions
What encryption is used?
AES-256, the strongest standard PDF encryption. Every current PDF reader can open it with the password.
Do you keep the password?
No. It is used in memory to encrypt the file. The job record only notes that a password was set.
Can I block printing but allow opening?
Yes. Set allow_printing to false. Readers that respect permissions then disable printing for anyone without the owner password.
Use cases and what they cost
| Use case | What it does | Calls a month | Estimated cost a month |
|---|---|---|---|
| Payroll | Encrypts each payslip with the employee's own password before emailing it. | 1,500 | $7.00 |
| Clinic | Protects lab results sent to patients by email. | 3,000 | $13.00 |
| Accountants | Locks year-end statements sent to clients. | 300 | $1.50 |
- Payroll: One call per payslip.
- Clinic: AES-256, copying disabled.
- Accountants: Permissions: print yes, edit no.
Costs use the published volume tiers: the first 1,000 calls of the month at tier 1, calls 1,001 to 10,000 at tier 2, and every call after that at tier 3. Failed calls cost nothing, so they are not in these figures.
Recommendations
- We use AES-256. Old 40-bit RC4 protection is trivial to break and we do not offer it.
- The password is never stored: the jobs table keeps a hash of the options only.
- Send the password to the recipient through a different channel than the PDF.
- Permissions such as "no copying" are honoured by most readers but are not encryption; the open password is the real lock.
How it compares
Protection is one of the cheaper operations on credit plans, so the gap is smaller here. The real difference is what the provider does with your password.
| Provider | How they bill | Cost of one job (a 10-page PDF) |
|---|---|---|
| JustAPI | Flat $0.005 per call at tier 1, any size; failures free | $0.005 |
| PDF.co | Security add: 3 credits per page | $0.02 |
| iLoveAPI | 10 credits per file | n/a |
| ConvertAPI | Developer plan: 35 USD a month for 1,000 conversions | $0.04 |
| Adobe PDF Services | 0.05 USD per document transaction | $0.05 |
Prices checked on 12 November 2026 on each provider's public pricing page. PDF.co figures use their Basic plan (8.99 USD a month on annual billing for 16,500 credits). iLoveAPI does not publish dollar prices for paid credits on its pricing page, so only its credit cost is shown. Plans change; check before you decide.
Pick another provider if you need certificate-based encryption for named recipients rather than a password. The full working is in Password-protect PDF API pricing and what you get, and the step-by-step setup is in the PDF Protect integration guide.
Try it free first
The free pdf protect tool runs the same job in your browser, five times a day, with no account. Use the API for workflows and bigger files. The full parameter list is in the PDF Protect API reference.