Skip to main content
asfd70128494
Participant
August 31, 2017
Question

Want to set expiry date in PDF file

  • August 31, 2017
  • 3 replies
  • 2112 views

Hi,

I am developing an application using PHP. My application have some pdf file which user can download after registration. But, these pdf files will have 2 months of validation i.e. PDF file would be expired after 2 months from the date of registration, How can I set dynamic expiry date in PDF javascript? Do you provide any plugin or something like that? Please help ASAP.

Thanks

Sanchari

This topic has been closed for replies.

3 replies

try67
Community Expert
Community Expert
October 19, 2019

I recommend no one use this website. See my review of it here: https://community.adobe.com/t5/Acrobat/how-to-prevent-pdf-files-save-locally-or-forward-the-to-anyone/td-p/10376802

In short, the protection it offers is easily overcome and it is not clear who (or what) is behind it, that you're giving access to your sensitive files to...

Inspiring
August 31, 2017

This has been asked many many times. Please search for the discussions.

The JavaScript that can do this is very easily defeated. The best solution is to use Digital Rights Management.

Ten A
Community Expert
Community Expert
August 31, 2017