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

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

New Here ,
Mar 01, 2016 Mar 01, 2016

Copy link to clipboard

Copied

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?

TOPICS
Acrobat SDK and JavaScript

Views

1.3K

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
Guest
Mar 01, 2016 Mar 01, 2016

Copy link to clipboard

Copied

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

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
New Here ,
Mar 03, 2016 Mar 03, 2016

Copy link to clipboard

Copied

Still doesn't help me.

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
New Here ,
Mar 03, 2016 Mar 03, 2016

Copy link to clipboard

Copied

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

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
Guest
Mar 03, 2016 Mar 03, 2016

Copy link to clipboard

Copied

Hi ,

Uninstall the Password Remover program and then follow the steps to protect the document.

Regards

Sukrit Dhingra

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
LEGEND ,
Mar 04, 2016 Mar 04, 2016

Copy link to clipboard

Copied

‌Doesn't Adobe's warning message when you set a password make this clear? I can't speak for them but that does.

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
LEGEND ,
Mar 02, 2016 Mar 02, 2016

Copy link to clipboard

Copied

‌This is what Adobe's warning message meant.

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
Community Beginner ,
Apr 29, 2016 Apr 29, 2016

Copy link to clipboard

Copied

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";

}

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
Community Expert ,
Apr 29, 2016 Apr 29, 2016

Copy link to clipboard

Copied

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.

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
Community Beginner ,
Apr 29, 2016 Apr 29, 2016

Copy link to clipboard

Copied

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

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
Community Expert ,
Apr 30, 2016 Apr 30, 2016

Copy link to clipboard

Copied

If JS is disabled, none of that would work.

Also, I'm not sure the securityHandler property will work for an LCD form...

Try applying a doc-open password. It's more robust than the doc-edit protection, I believe, and might help you solve this issue without resorting to using scripts.

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
Community Beginner ,
May 01, 2016 May 01, 2016

Copy link to clipboard

Copied

Thanks again for the reply. 

Unfortunately 3rd party apps can strip all the passwords off a PDF.

Been messing around with securityHandler without luck.  Frustrating.  Documentation seems to indicate LCD has securityHandler but it's not working for me.  Posted a question in the LCD forum: Hiding contents of PDF based on NON-existence of a password?

Any other thoughts? I'll keep you posted of my results.

Thanks!

Brian

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
Community Beginner ,
May 01, 2016 May 01, 2016

Copy link to clipboard

Copied

Hi try67 -

Just an update: no matter what I do, this.securityHandler always seems to return null, regardless of the presence of a doc open or permissions password.

So frustrating!

B

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
Community Expert ,
May 02, 2016 May 02, 2016

Copy link to clipboard

Copied

You need to ask over at the LiveCycle Designer forum. I can tell you it works fine with Acrobat forms.

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
Community Expert ,
May 02, 2016 May 02, 2016

Copy link to clipboard

Copied

Ah, I see that you did already... Hopefully someone will be able to answer it.

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
Community Beginner ,
May 10, 2016 May 10, 2016

Copy link to clipboard

Copied

LATEST

Hey try,

Made some progress on this in the other thread. Just saying thanks.

B.

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
LEGEND ,
Apr 29, 2016 Apr 29, 2016

Copy link to clipboard

Copied

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

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