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
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/