Restrict PDF

Restrict PDF

Restrict PDF is a REST API tool that applies usage restrictions to a PDF as a security measure to limit the ways in which viewers can interact with the document, such as printing, editing, or copying text.

Build Your Solution

You have document processing problems, we have Solutions. Explore the many ways pdfRest can align your documents with your business objectives.

Browse all solutions
The pdfRest logo is added to the Microsoft Power Automate logo with a representation of a PNG to PDF conversion workflow
Integrate pdfRest with Microsoft Power Automate
Ensure GDPR Compliance for PDF Processing with EU-Based Cloud API
Ensure GDPR Compliance for PDF Processing with EU-Based Cloud API
A locked PDF is unlocked to allow editing and then locked again after the edits are completed
Create Secure Document Workflows with PDF Password Protection
The Salesforce logo with APEX programming language is connected with the pdfRest logo around a PDF toolkit icon
Integrate PDF API Tools with Salesforce Apex Code
A PDF is stamped with a brand logo as a watermark and then restricted so that it is not editable
Secure PDF Documents with Protected Watermarks
Why is pdfRest the best API to apply restrictions to PDF?
pdfRest offers the best solution for restricting PDF documents with a permissions password, because it supports advanced restriction modification, top quality security, and flexible restriction options.

Modifying Existing Restrictions

The Restrict PDF API tool empowers your application with security features that apply to more than just new documents. Existing files and permissions are easily modified, opening your documents to new and expanding audiences.

We often think of security as a one-way workflow, it doesn't need to be. Enhance your security with two-way automation. Incoming documents can be secured with the Restrict PDF tool and processed through the Encrypt PDF tool for secure storage with an additional layer of encryption-at-rest. When the files are ready for distribution and viewing, reverse them through the process to open them to only their intended audience.

All of this and more is ready-built, only with pdfRest.

Top Quality Security

Security is the foundation of every good technology and pdfRest allows you to rest easy knowing that the the industry's best document security has been made so simple to implement with your new and existing projects.

Powered by the Adobe® PDF Library™, pdfRest's Restrict PDF API Tool leverages the same technology and security capabilities found in Adobe Acrobat. pdfRest supports automation that removes human error from implementation of security best-practices.

Flexible Restriction Options

The suite of tools within pdfRest provide flexibility to developers when crafting the unique security solutions their data requires. With calls to the Restrict PDF API, there are 256 distinct permission combinations that can be applied to documents, saving development time and providing maximum value with one easy tool.

Adobe Acrobat security settings such as "Printing Allowed", "Changes Allowed", "Enable copying of text, images...", and their associated permissions passwords are are all fully compatible with Restrict PDF.

Customize Your Solution

Learn about the parameters for this tool to create your custom solution.

Restrictions[]

The restrictions[] parameter allows you to apply one or more of the following security restrictions to your document. The presence of a restriction in the list means that the action is forbidden.

  • print_high: Restricts high-resolution printing, defined as anything over 150 dpi. When this is set, a user can still print the document, but only at a low quality.
  • print_low: Restricts low-resolution printing. When this restriction is set, it means that all printing is forbidden, as even the lowest quality printing is not allowed.
  • edit_document_assembly: Prevents a user from modifying the document's structure, such as inserting, deleting, or rotating pages.
  • edit_fill_and_sign_form_fields: Prevents a user from filling out forms and adding digital signatures.
  • edit_annotations: Prevents a user from adding, editing, or deleting annotations (e.g., comments, highlights).
  • edit_content: Prevents a user from making any changes to the document's text, images, or other content.
  • copy_content: Prevents a user from copying text and images from the document to their clipboard.
  • accessibility_off: Disables support for accessibility features like screen readers and other assistive technologies.

Safe & Secure

Confidently process your sensitive data with pdfRest. Our platform is fortified for robust, Enterprise-grade security and compliance, including GDPR, HIPAA, and SOC 2 Type 2 certification in progress. Your data's protection is our priority.

Frequently Asked Questions
Need more help? Contact Us or visit our documentation.

The Restrict PDF API is a REST API tool that applies usage restrictions to a PDF. It acts as a security measure by limiting how viewers can interact with the document, such as preventing printing, editing, or copying content. The tool can be used to add, modify, or remove these restrictions.

An open password is used for encryption and is required to view a PDF document. A permissions password is required to modify a document's security settings and is used to restrict a user's ability to perform specific actions like printing or editing. The Restrict PDF API focuses on managing the permissions password.

The restrictions[] parameter allows you to apply a variety of security measures to your document. The presence of a flag means that the action is forbidden or restricted for the user. These options include:

  • print_high: Restricts high-resolution printing (anything over 150 dpi). This means that a user is allowed to print the document, but only at a low quality.
  • print_low: Restricts low-resolution printing. When this restriction is set, it means that no printing is allowed at all, as even the lowest quality printing is forbidden.
  • edit_document_assembly: Prevents a user from inserting, deleting, or rotating pages.
  • edit_fill_and_sign_form_fields: Prevents a user from filling in form fields or adding digital signatures.
  • edit_annotations: Prevents a user from adding, editing, or deleting annotations.
  • edit_content: Prevents a user from making any changes to the document's text or images.
  • copy_content: Prevents a user from copying text or images from the document to their clipboard.
  • accessibility_off: Disables support for screen readers and other assistive technologies.

Yes, you can. The Restrict PDF tool includes the /unrestricted-pdf endpoint, which is designed to remove all document security restrictions. You must provide the current permissions password to successfully remove the restrictions.

No, you cannot. Due to the nature of secure, password-based permissions, you must know the existing permissions password to either change it or remove the restrictions entirely. The API will not process a document that is protected without the correct password.

You can modify an existing document's restrictions by providing the current_permissions_password and then setting a new_permissions_password along with your desired restrictions[]. This allows you to easily update security settings as your document's purpose or audience changes.

Common use cases for this API include securing legal documents against unauthorized changes, protecting confidential internal reports from being printed or copied, and ensuring that document permissions are properly managed for secure distribution to clients or partners.

When you apply a permissions password, it will normally overwrite all existing security data, including an open password. To prevent this, you can provide the existing open password using the current_open_password parameter. This will allow you to add restrictions while keeping the document encrypted.

pdfRest offers a superior solution because it supports advanced restriction modification, provides top-quality security powered by the Adobe PDF Library, and offers flexible restriction options with a vast number of possible combinations. It simplifies the implementation of best-practice security into your applications.

Ensuring the security and privacy of your data is a top priority at pdfRest. Our platform is built for robust, enterprise-grade security and compliance, including GDPR and HIPAA. All your files are secured with encryption during both transit and at-rest, and they are permanently deleted after the stated file retention period (30 minutes for most plans). For complete details, please refer to our Data Processing Agreement (DPA).

To facilitate GDPR compliance for your restriction workflows, pdfRest processes your data within the European Union and adheres to other strict data protection requirements. You can ensure all processing occurs within the EU by sending your API calls to the dedicated EU endpoint at http://eu-api.pdfrest.com/restricted-pdf. Please note that a GDPR usage fee may apply for some plans. For more information, please review our Data Processing Agreement.

Integrating the Restrict PDF API is straightforward. We offer comprehensive API documentation and code samples in many programming languages. The API Lab also allows you to test and generate code snippets directly from your browser, simplifying the setup and ensuring a smooth integration experience.

Yes, you can perform this task with our no-code tools. Our API Lab is an online tool that allows you to upload files and send API calls directly from your browser. For even more convenient workflows, you can apply restrictions to a PDF online with pdfAssistant.ai or remove restrictions from a PDF with pdfAssistant.ai, a conversational AI assistant that automates these tasks.

Yes, pdfRest offers two self-hosted options. The pdfRest API Toolkit on AWS allows you to deploy and manage your own backend processing infrastructure within your AWS environment with pay-as-you-go pricing through the AWS Marketplace. The pdfRest API Toolkit Container provides ultimate environmental control as a Docker Container, giving you the flexibility to run the API in on-premises data centers or public/private cloud environments with a flexible, custom licensing model.

Generate a self-service API Key now!
Create your FREE API Key to start processing PDFs in seconds, only possible with pdfRest.