Skip to main content
Participating Frequently
May 21, 2021
解決済み

Expiry Date with Java Script possible?

  • May 21, 2021
  • 返信数 2.
  • 2846 ビュー

Hello everyone, is it possible to use JavaScript to store an expiration date for a PDF, i.e. that it can no longer be opened after this date has expired? I would be very grateful for your help.

このトピックへの返信は締め切られました。
解決に役立った回答 JR Boulay

Sure, search "Expire PDF on a Specific Date" on this page:

https://www.pdfscripting.com/public/Document-Level-Scripts.cfm

 

返信数 2

JR Boulay
Community Expert
JR BoulayCommunity Expert解決!
Community Expert
May 21, 2021

Sure, search "Expire PDF on a Specific Date" on this page:

https://www.pdfscripting.com/public/Document-Level-Scripts.cfm

 

Acrobate du PDF, InDesigner et Photoshopographe
Legend
May 21, 2021

The user can turn off JavaScript. Many PDF viewers ignore JavaScript completely. So, "cannot be opened" is hardly a possibility if this is to have any more than vague advisory value.

Inspiring
May 21, 2021

Of course, even if that worked, you would have to open the PDF in order to run the Javascript. You want a Content Management System (CMS) or something like LiveCycle.