How to Require an NDA Agreement Before Opening a PDF
Question details
The user wants to prompt recipients to agree to a Non-Disclosure Agreement (NDA) before they are allowed to view the contents of a sensitive PDF document.

- Product
- Device & OS
- not provided
- Scenario
- Sharing a sensitive business-plan PDF that requires legal confidentiality via an NDA.
- Observed behavior
- The user needs a mechanism to enforce NDA acceptance before granting file access, while understanding the limitations of Acrobat scripts.
Before attempting to implement an embedded NDA, understand that scripts inside PDFs can be bypassed or disabled by modern PDF readers, meaning they do not provide airtight legal protection.
Implement a Two-Step Secure NDA Process
The most legally sound and secure method is to separate the NDA signing from the sensitive document delivery.
Because embedded PDF scripts are not a secure legal enforcement method, relying on them for sensitive business plans is risky. A standard two-step process ensures legal compliance and protects your intellectual property.
Create a separate PDF containing only your Non-Disclosure Agreement terms. Send this to the recipient using a standard email or an e-signature platform.
Wait for the recipient to legally sign and return the NDA document. Ensure the signature is verified and legally binding.
Once the signed NDA is secured, send the actual sensitive business plan PDF. For added security, password-protect this PDF and share the password via a different communication channel.

Use Document-Level Scripts to Display an NDA
You can use JavaScript within a PDF to display an NDA prompt upon opening, though it has significant security limitations.
Manage and Protect Sensitive PDFs with WPS Office
WPS Office provides robust PDF tools, including password encryption and e-signature capabilities, making it easy to manage your two-step NDA process securely and efficiently.
- 1. Create your NDA: Open WPS Office, create a new document with your NDA terms, and export it as a PDF.
- 2. Request signatures: Use the WPS PDF signature tools to prepare the document for signing or send it to your client.
- 3. Encrypt the sensitive file: Open your business plan in WPS PDF, go to the 'Protect' tab, and select 'Encrypt' to add a secure open password before sending it to the authorized recipient.

Frequently Asked Questions
Is a JavaScript pop-up NDA in a PDF legally binding?
Generally, a simple JavaScript pop-up is difficult to enforce legally because it lacks verifiable authentication and signature tracking. A formal e-signature process is highly recommended for NDAs.
Why might a document-level script fail to hide the PDF content?
Many modern PDF readers, including mobile viewers and web browsers, disable JavaScript by default for security reasons. If scripts are disabled, the script won't run, potentially exposing the document or rendering it unreadable depending on how it was constructed.
Can I use password protection instead of an NDA script?
Yes. A highly secure workflow is to have the recipient sign a standard NDA first, and then send them a password-protected PDF. You only provide the password once the signed NDA is received.




