• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Is there a Java Script to expire a PDF after a specified number of uses?

New Here ,
Feb 27, 2019 Feb 27, 2019

Copy link to clipboard

Copied

Looking to make it so that after a user opens a document after a specified number of times that the document expires and they can't open it again.

TOPICS
Acrobat SDK and JavaScript

Views

249

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 27, 2019 Feb 27, 2019

Copy link to clipboard

Copied

LATEST

In theory it's possible, but it's extremely easy to get around it, making it not worth the trouble.

What if the user opens the file and then closes it without saving it? The "counter" will note update and the user will be able to continue opening the file without problems. Also, they can simply disable JS and this entire mechanism won't work at all.

If you want to do it in a way that's reliable you need to shell out large amounts for a DRM solution.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines