Solved

Set pdf export to be locked (read-only)

Posted on 2004-08-12
5
694 Views
Last Modified: 2010-05-18
How can I set pdf option to export locked pdf document?
0
Comment
Question by:patrikt
5 Comments
 
LVL 42

Accepted Solution

by:
frodoman earned 250 total points
ID: 11783120
Sorry, but you can't do that - the Crystal export dll doesn't support it.

frodoman
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 11783252
If you are running a front end application, you possibly could lock it through that.

mlmcc
0
 
LVL 12

Author Comment

by:patrikt
ID: 11783936
Yes I have front end, but for manipulation with pdf I'll need full acrobat.

Or you know other way how to programaticaly set pdf properties?
0
 
LVL 42

Expert Comment

by:frodoman
ID: 11784311
I agree that you'd need acrobat distiller to lock the pdf.  To the best of my knowledge there is no way that you are going to be able to accomplish this.

frodoman
0
 
LVL 22

Expert Comment

by:Ido Millet
ID: 11788785
Have a look at the list of 3rd-party Report Managers at: http://www.kenhamady.com/bookmarks.html

At least one of these Report Managers can password protect (128-bit) PDF exports.  It can also specify various protection options using a command line argument as follows:
---------------------------------------------------------------------------------------------------------------------
… "PDF_PROTECT:Owner_Pass>User_Pass>1>1>0>1>1"

The parameters (after the “:”) are separated by a “>” and are as follows:
1. Owner_Password: Keep this password to yourself.  It provides full control over the PDF file.
 
2. User_Password: Give this password to the recipient. The following arguments control
     what the user can do with the PDF file.
     NOTE: If you wish to protect the file but not prompt the user for a Password, leave the
     User_Password option blank. For example: "PDF_PROTECT:Owner_Pass>>1>1>0>1>1"

3. Allow User to Print the File: (1=Yes, 0=No) 1 is typical.
4. Allow User to Copy Text & Images from the File: (1=Yes, 0=No) 1 is typical.
5. Allow User to Edit/Change the File: (1=Yes, 0=No) 0 is typical.
6. Allow User to Add Notes to the File: (1=Yes, 0=No) 1 is typical.
7. Allow User to Print in Full Resolution: (1=Yes, 0=No) 1 is typical.
    Setting this to zero would force low-resolution printing, preventing the document from being
    distilled into a new unrestricted PDF document.
---------------------------------------------------------------------------------------------------------------------

Cheers,
- Ido
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now