Copy link to clipboard
Copied
Hello
I was wondering whether you can set an expiration date on a pdf document, but I need the document just stop displaying it´s content without any warning and without any text indicating that the document is protected or encrypted, if anyone can do that, I´ll appreciate it very much!
Best regards
The only way to do it securely is with DRM technology, which is very expensive.
A script can do something similar, but there are many ways around it (like changing the computer time or disabling JavaScript in the application before opening the file)...
Copy link to clipboard
Copied
The only way to do it securely is with DRM technology, which is very expensive.
A script can do something similar, but there are many ways around it (like changing the computer time or disabling JavaScript in the application before opening the file)...
Copy link to clipboard
Copied
Can you explain me how to do it with a script?
Thanks!
Copy link to clipboard
Copied
You would need to create a Date object with today's date and then compare it to another Date object with the hard-coded expiration date.
If the current date's value is larger than the expiration date, close the file.
If you're interested in me writing this script for you (for a fee), feel free to contact me privately at try6767 at gmail.com.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more