Can a PDF Automatically Lock After a Specific Date?
Question details
The user wants to know if it is possible to configure a PDF file to automatically lock, expire, or become inaccessible for opening and printing after a certain date.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Securing time-sensitive documents to prevent unauthorized viewing or printing after a specific timeframe has elapsed.
- Observed behavior
- Standard PDF editing software lacks built-in, reliable time-based expiration capabilities, though permissions can restrict specific actions.
Before attempting to set an expiration date on your PDF, determine the level of security required for your document, as standard password protection alone will not automatically revoke access over time.
Use a Digital Rights Management (DRM) System
Since standard Adobe Acrobat cannot enforce time-based expiration reliably, a dedicated DRM system with a central server is required for this level of control.
Standard PDF passwords and permissions restrict editing and printing but do not include a reliable automatic expiration mechanism.
To enforce a strict time limit on document access, you must use a Digital Rights Management (DRM) solution that relies on a centralized server to verify licenses and access rights every time the document is opened.
Select a third-party Digital Rights Management service tailored for documents, such as Adobe Experience Manager Document Security, FileOpen, or Locklizard.
Import your standard PDF file into the DRM platform's secure administrative portal or desktop application.
Navigate to the security or access control settings within the DRM dashboard and set an exact expiration date or a time limit (e.g., 30 days after opening) for the document.
Share the DRM-protected file with your recipients, who will likely need to use a specific secure viewer or authenticate their identity online to open it.

Apply Standard Password Protection as an Alternative
While the document won't automatically expire, you can heavily restrict who can open, print, or edit the PDF using traditional password encryption.
Secure Your Documents with WPS Office PDF Protection
While automated time-based expiration requires external DRM servers, you can easily restrict access, printing, and editing of your sensitive PDFs using the built-in encryption features in WPS Office.
- 1. Open your PDF in WPS: Launch WPS Office and open the PDF document you want to secure.
- 2. Access the Protect tab: Navigate to the 'Protect' tab on the top ribbon menu and click on the 'Encrypt' button.
- 3. Set password restrictions: Check 'Set Open Password' to prevent unauthorized viewing, or set a password to restrict editing and printing, then click 'Confirm' to save your secured PDF.

Frequently Asked Questions
Can I use JavaScript to make a PDF expire?
While it is technically possible to embed a JavaScript time-check script into a PDF, this method is highly unreliable. Users can easily bypass it by disabling JavaScript in their PDF reader preferences or simply changing the date on their computer's system clock.
Do standard PDF readers support time-locked documents?
No, standard PDF readers like Adobe Acrobat Reader or web browser viewers do not natively support time-locked documents without integrating with a third-party Digital Rights Management (DRM) plug-in.
How can I safely share a time-sensitive document without DRM?
If you do not have access to a DRM system, the best practice is to upload the document to a secure cloud storage service (like Google Drive, OneDrive, or Dropbox) and share it using a secure link. You can then set an expiration date on the shareable link itself, automatically revoking access on a specific day.
Will a permissions password stop someone from viewing the PDF after a certain date?
No, a permissions password only restricts actions like editing, copying, and printing. It does not track time or revoke access to view the file once the correct open password has been provided.




