Solved

Set pdf export to be locked (read-only)

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

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 23

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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

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. …
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…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

695 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