using javascript to password protect pdf

前端 未结 1 1492
南笙
南笙 2020-12-22 00:44

How do I password protect a pdf using javascript? I know it\'s possible to apply a security policy to a pdf with javascript, but how can I get access to the login username a

相关标签:
1条回答
  • 2020-12-22 01:20

    You can definitely use Javascript to manipulate your .pdf's ... as long as you're using Acrobat Reader. I've used it to do bookmarks; I imagine you can also support username/password operations.

    Here's the official documentation:

    http://partners.adobe.com/public/developer/pdf/topic_js.html

    This link may (or may not) also be applicable:

    http://acrobatusers.com/forum/forms-livecycle-designer/protect-field-javascript/

    0 讨论(0)
提交回复
热议问题