Possible Security Issue

Possible Security Issue

Forum member · Aug 29, 2008
Hi, My problem is as follows: I have PDF documents that were originally generated by another company. They have set some security permissions on these PDF documents as follows: Printing: Allowed Document Assembly: Not Allowed Content Copying: Allowed Content Copying for Accessibility: Allowed Page Extraction: Not Allowed Commenting: Not Allowed Filling of form fields: Allowed Signing: Allowed Creation of template pages Not Allowed I am trying to use the merger to open the PDF and then apply a user password. When I do the doc.Draw(filename) the document has a message that says I must get the latest version of adobe reader in order to view the contents. I downloaded the latest version of adobe this morning. I have successfully applied user passwords to other pdf files that had no security permission set. What could be my problem with these documents? Here is a small sample of code. Merger.MergeDocument doc = new Merger.MergeDocument(@"C:\out.pdf"); doc.Security = new StandardSecurity(); doc.Security.UserPassword = "Password"; doc.Draw(@"c:\out_pass.pdf"); Any help would be appreciated.

Re: Possible Security Issue

Support · Aug 29, 2008
Hello, Can you please send over the PDF document and the code you are using to our [^a|mailto:support@cete.com|Support Team^] so that they can look into it. What exact problem are you having? Please give more details about the problem you are having so that we can try to recreate the behavior. Thanks, ceTe Software Support Team.

Re: Possible Security Issue

Forum member · Aug 29, 2008
Hi, The documents contain confidential information and therefor I cannot send it to you as your company doesn't have a signed non disclosure agreement with us. I have however requested from the business that they generate me a sample document that I can forward to you. I will get this done as soon as possible. The code that was attached in my previous post can attach the user password to a document with no security settings. Therefor I assume that it is the security on these new documents that is the problem. When I password protect the document it only contains the following statement on the first page and none of the original document. "To view the full contents of this document, you need a later version of the PDF viewer. You can upgrade to the latest version of Adobe Reader from www.adobe.com/products/acrobat/readstep2.html For further support, go to www.adobe.com/support/products/acrreader.html" When I do open it, it does however ask me for the password that I specified. Thanks for you assistance.