Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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 and password?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
2.0k views
Welcome To Ask or Share your Answers For Others

1 Answer

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/


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...