Solved

Set pdf export to be locked (read-only)

Posted on 2004-08-12
5
693 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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 tutorial demonstrates a quick way of adding group price to multiple Magento products.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

706 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

15 Experts available now in Live!

Get 1:1 Help Now