PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index PDFsharp - moved to http://forum.pdfsharp.net/
Please visit the new PDFsharp forum at http://forum.pdfsharp.net/
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Document "SecuritySettings"

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Bug Reports - moved to http://forum.pdfsharp.net/
View previous topic :: View next topic  
Author Message
goopyJava



Joined: 21 Apr 2009
Posts: 1

PostPosted: Tue Apr 21, 2009 1:13 am    Post subject: Document "SecuritySettings" Reply with quote

I have been working with converting some documents I am drawing with GDI+ into standard PDF documents. Everything seems to be working great but as icing on the cake I decided to add in security on those new documents so my users can protect the information they are sending around. The problem is that in Acrobat 9.1.0 it seems like the security shows up fine in the "show details..." screen but not under the "Document Restrictions Summary". All this is to say that no matter what I set the security to be, it is not enforced.

A very rough version of my code is:

Code:
     // create the document here
     ...

     // apply the security settings
     objDocument.SecuritySettings.UserPassword = "user";
     objDocument.SecuritySettings.PermitPrint = false;
     objDocument.SecuritySettings.PermitExtractContent = false;

     // draw many graphics
     ...

     // close the document
     objDocument.Close();


When I open the result of this code in Acrobat Reader 9.1.0 the user can still print, and copy content. I looked into the actual PDFSharp code and compared with the PDF specification but I cannot figure out what might be missing. Any ideas what is wrong?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Bug Reports - moved to http://forum.pdfsharp.net/ All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


Start Your Own YouTube Clone

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com