Solved

Set pdf export to be locked (read-only)

Posted on 2004-08-12
5
697 Views
Last Modified: 2010-05-18
How can I set pdf option to export locked pdf document?
0
Comment
Question by:patrikt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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. …
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

733 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