Skip to main content
Participant
March 2, 2016
Question

I added protection to my document, but PDF Password remover v4.0 removed it. How do I protect a document effectively?

  • March 2, 2016
  • 4 replies
  • 1678 views

I'm trying to effectively protect my document. I restricted all permissions but printing and added a password. However, the first free program I tried removed the password and protection. How do I effectively protect the document?

This topic has been closed for replies.

4 replies

Legend
April 29, 2016

Don't forget JS can be turned off and support in non-Adobe products is potluck.

Participating Frequently
April 29, 2016

Is there a way via javascript to test if a PDF is secured and what the password is?

Even if the security is stripped, couldn't you hide pages on doc open if there is no password or if the password was wrong?

As a bad example:

if (testForPassword == "12345"){

     page1.presence = "visible";

}

else {

     page1.presence = "hidden";

}

try67
Community Expert
Community Expert
April 29, 2016

Is there a way via javascript to test if a PDF is secured

Yes, using the securityHandler property of the Document object.

and what the password is?

Of course not, that would defeat the entire purpose of the security policy.

However, I don't see how any of this will help you... If someone removes the security policy they can also easily disable JS.

Short of using DRM protection there's no real secure way to encrypt a PDF file, I'm afraid.

Participating Frequently
April 29, 2016

Thanks for the quick comments; should have been more clear.

1) In my case, the PDF is xfa (so only going to work on Adobe - this is acceptable) and if javascript is off, purpose of the PDF becomes severely limited.  Needs to be on.

2) Good point, try67.  Guess goal would be to trigger a message box on open, which would trigger the doc close event after clicking 'okay.'

Any examples of using the securityHandler property of the Document object?

B

Legend
March 2, 2016

‌This is what Adobe's warning message meant.

March 2, 2016

Hi ,

Refer the following link to protect PDF with passwords.

Securing PDFS with passwords, Adobe Acrobat

If it is a PDF password remover software,it' purpose is to remove the password only.

Regards

Sukrit Dhingra

Participant
March 4, 2016

Still doesn't help me.

Participant
March 4, 2016

So is Adobe saying there isn't really a way to lock the document?