We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Missing Permission ?

Hi !

I'm trying to PROTECT and SIGN a document in one single pass.

Please, follow the steps below to reproduce my problem:

1- I successfully protect/encrypt the PDF using Owner and User passwords and set its Security.Permissions as: Print Or EditContent Or FillFields Or AssembleDocument {1292}.   Everything functions like a charm.

2- After, I open the protected document using the OWNER password and SIGN it using a Digital Certificate. I DO NOT Certificate the document; I just sign it normally.  I can check, through DEBUG mode, that Security.Permissions are 100% like above.

3- After signed the protected document, a curious thing happens:

- If I open the Signed-Protected document via my application, it shows the same Permissions like pointed at topic 1.

- If I open the Signed-Protected document via FOXIT 9.5.0.20723, it shows the same Permissions like pointed at topic 1 BUT "AssembleDocument" is OFF (restricted).

- If I open the original protected-only document (before sign it) in the same FOXIT, it shows "AssembleDocument" and other permissions normally.

Do you know why FOXIT suddenly change its interpretation of that permission (AssembleDocument) in a document after signing it, even the flag is marked within the PDF file?

I appreciate for any help.
Kind regards,
David




2 Replies

SL Sowmiya Loganathan Syncfusion Team January 9, 2020 07:38 AM UTC

  
Hi DavidBS,  

Greetings from Syncfusion.  

We were able to reproduce the reported issue in Foxit Reader. On further analysis, we suspect that this is behavior of Foxit Reader. We have also ensured this with creating the encrypted PDF document in Adobe Acrobat and sign it.  
  • While opening signed-protected document in Foxit Reader, document permission “Document Assembly” is restricted.
  • But while opening encrypted PDF document in Foxit Reader, it shows the permission normally.

Please refer the below screenshot for more details, 
Foxit Reader (Encrypt and sign using Foxit Reader):  

 

Adobe Acrobat (Encrypt and sign using Foxit Reader):  

 


Note: The document permission shows expected (“Document Assembly” allowed) in Adobe Reader security permission details.  

Please let us know if you have any concerns on this.  

Regards, 
Sowmiya Loganathan 





DA DavidBS January 9, 2020 01:20 PM UTC

Hi Sowmiya,

Thank you very much for the explanation.

Kindest regards,
David

Loader.
Up arrow icon