惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
SegmentFault 最新的问题
J
Java Code Geeks
V
V2EX
Blog — PlanetScale
Blog — PlanetScale
博客园 - 司徒正美
Hugging Face - Blog
Hugging Face - Blog
F
Fortinet All Blogs
aimingoo的专栏
aimingoo的专栏
B
Blog
A
About on SuperTechFans
有赞技术团队
有赞技术团队
月光博客
月光博客
Microsoft Azure Blog
Microsoft Azure Blog
阮一峰的网络日志
阮一峰的网络日志
腾讯CDC
美团技术团队
大猫的无限游戏
大猫的无限游戏
爱范儿
爱范儿
N
Netflix TechBlog - Medium
C
Check Point Blog
Recent Announcements
Recent Announcements
博客园 - Franky
博客园 - 叶小钗
T
Tailwind CSS Blog

Inside Nutrient

A guide to the invisible work behind documents Introducing Nutrient Documents for Salesforce: Native document generation and signing Document AI vs. traditional OCR: Choosing between OCR, AI, and hybrid pipelines PDF SDK compliance and security evaluation checklist for enterprise teams (2026) Invariant Corp replaces paper processes with Nutrient Workflow and scales without limits What is process mapping? A complete guide Nutrient vs. Conga Composer for Salesforce document generation (2026) Document routing: How to automate document distribution The CTO’s AI playbook: Why accountability architecture beats orchestration Compliance workflow automation: Why built-in compliance is table stakes Workflow diagrams: Examples, symbols, and how to build one that actually runs Digital forms: Replace paper forms with automated workflows Approval workflow software: How to automate approvals Why document-centric automation is different The CEO’s AI playbook: Why decision architecture beats model selection Nutrient SDK product updates for Q1 2026 PDF redaction verification: How to prove sensitive data is permanently removed What is a VPAT? The complete guide to accessibility conformance reports What is PDF/UA? The accessible PDF standard explained Salesforce eSignatures: Generate, sign, and track documents in one flow Online document viewer: Options, tradeoffs, and how to embed one Document viewer for web apps: React, Vue, Angular (2026) Best document viewers in 2026: A buyer’s guide How to edit a PDF in Python: Add text, images, and annotations Nutrient advances Workflow platform with agentic AI for enterprise-grade speed and consistency in document-heavy operations How to create a Salesforce quote template from opportunity data The business case for accessibility: Five ways it drives enterprise value Python PDF library comparison (2026): 7 libraries for developers Why your AI agent hallucinates PDF table data PDF.js limitations: When to upgrade to a commercial PDF SDK
Apply security to PDFs with Nutrient Document Web Service...
Hulya Masharipov · 2025-04-04 · via Inside Nutrient

Table of contents

    This tutorial shows you how to automatically secure PDF files using the Nutrient Document Web Services API on Zapier. You’ll trigger the workflow when a new PDF is uploaded to a Google Drive folder, apply security settings such as passwords and access restrictions, and upload the protected PDF back to Google Drive.

    Apply security to PDFs with Nutrient Document Web Services API on Zapier

    What is Zapier?

    Zapier(opens in a new tab) is an automation platform that connects your favorite apps and services with no code required. You can build “Zaps” to automate repetitive tasks by setting up triggers and actions between apps like Google Drive, Slack, Gmail, and more.

    In this tutorial, you’ll learn how to use Zapier to password-protect PDFs and restrict access permissions automatically using Nutrient DWS Processor API.

    What is Nutrient DWS Processor API?

    Nutrient Document Web Services API is a powerful platform for document automation. With your free account(opens in a new tab), you get 50 credits, which you can use to perform various document operations. Each tool (e.g. conversion, signing, flattening) consumes a different amount of credits depending on complexity.

    Nutrient offers more than 30 tools with the ability to:

    All you need is an API key from a free account to get started(opens in a new tab). You can chain these tools together in Zapier to build powerful, automated PDF workflows.

    What you’ll need

    Step 1 — Trigger a new file in a Google Drive folder

    1. Select Google Drive as the trigger app.

    Select Google Drive as the trigger app in Zapier

    1. Choose the New File in Folder trigger event.

    Choose ‘New File in Folder’ as the trigger event

    1. Connect your Google Drive account.
    2. Configure the trigger:
    • In the Drive field, select your Google Drive.

    Choose the Drive to monitor for new PDF files

    • In the Folder field, select or create a folder (e.g. nutrient).

    Select or create a folder to watch for new files

    • Ensure that the option for Include Deleted Files? is set to Only return non-deleted files.
    1. Test the trigger by selecting a sample PDF file from the folder to confirm it’s being pulled into the Zap correctly.

    Test the trigger by selecting a file from the folder

    Step 2 — Apply security to PDF action (Nutrient DWS Processor API)

    1. Next, select Nutrient Document Web Services API as the app.

    Select Nutrient Document Web Services API as the action app

    1. Choose the Apply Security to PDF action.

    Choose 'Apply Security to PDF' as the action event in Zapier

    1. Connect your Nutrient DWS Processor API account by entering your API key.

    Paste API key into the Nutrient connection field

    You can find your API key in the Nutrient dashboard(opens in a new tab).

    Find your Nutrient DWS Processor API key for authentication

    1. Fill out the required and optional fields:
      • PDF File URL — From Step 1 (Google Drive)
      • Owner Password — Required. Set an admin-level password to control permissions.
      • User Password — Optional. Add a password users need to open the PDF.
      • User Permissions — Optional. Choose what users can do — e.g. printing, extract, fill_forms, etc.
      • Output File Name — Optional. Add the file name, e.g. secured_report.pdf

    Map the PDF file URL, owner/user passwords, permissions, and output file name for the security action

    1. Test the step to confirm the PDF is successfully protected.

    Test the security action to confirm the PDF is password-protected and permission-restricted

    Step 3 — Upload the secured PDF to Google Drive

    1. Now, add another step by selecting Google Drive as the app and Upload File as the action event. Connect your Google Drive account if needed.

    Select 'Upload File' in Google Drive to save the secured PDF

    1. Select your drive and the folder where the updated PDF should be saved. In the File field, use the output from the Nutrient DWS Processor API step. Optionally, set a custom file name or extension to keep things consistent and organized.

    Map the secured PDF from the previous step to upload it to Drive

    Zapier may warn you about a potential Zap loop if you use the same folder for the input and the output. You can avoid this by uploading the updated file to a different folder.

    1. Run a full test to make sure:
    • The PDF is picked up from your drive.
    • Passwords and restrictions are correctly applied.
    • The secured PDF is uploaded to the output folder.

    Test the final step to confirm upload of the secured PDF to Drive

    Once confirmed, click Publish to automate your secure document workflow.

    Conclusion

    With this workflow, you’ve created a secure PDF automation using Zapier and Nutrient’s API(opens in a new tab). Password-protect sensitive documents and enforce viewing restrictions automatically as soon as they’re uploaded — perfect for HR, finance, legal, or any team handling confidential information.

    Explore related topics

    Try for free Ready to get started?

    Related SDK articles

    Explore more