Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Export as secure adobe pdf?

Status
Not open for further replies.

TheWkndr

Programmer
May 1, 2002
67
US
I have never seen anywhere the option add any security to any reports exported to adobe pdf format. I am still researching the options from Adobe, but if anyone here has had any luck with that I' d love to know about it.
 
At least one of the Report Managers listed at: allows you to password protect the exported pdf file (and/or specify what aspects of the pdf file are protected).

Cheers,
- Ido

Visual CUT & DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
The end result we're looking for is a secured adobe pdf doc - the issue we are having is that the pdf's we send out are not always coming back the same way. My (limited) understanding of this process involves opening a pdf in a full version of acrobat and setting it to be read-only and therefore not editable. I am trying to see if there is a way to have the reports automatically exported as secured. These products seem to be focused on securing the running of the reports, not the output.
 
Again, at least one of these Report Managers can automate the process of not only exporting a Crystal report to pdf, but also protecting the resulting pdf file.

The following information is from the user manual:
_________________________________________________
Encrypting & Protecting the exported PDF File

You can protect (using advanced 128-bit encryption) the exported PDF file. The command line argument structure is as follows:

..."PDF_PROTECT:Owner_Pass>User_Pass>1>1>0>1>1>pdf_file_path_and_name"

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.
8. OPTIONAL: The PDF file path & name (for example, c:\temp\other_file.pdf).
Leaving this argument blank, would default to processing the file being exported. Providing a file name would direct processing to the specified file (even if it's not the exported PDF file.

Note: Adobe Acrobat Reader V5.0 or later is required to open encrypted PDF files.

Important Note: you can use field or formula names within the command line argument... The dynamic content of these fields/formulas would be substituted into the command line argument. Among other things, this allows you to easily protect individual PDF exports with different passwords for each group. For example (all in one line):
"PDF_PROTECT:my_pass>{@Emp_Pass}>1>1>0>1>1>c:\{@Year} Archive\Sales For {Emp_Name} in {@Month_Name}.pdf"
___________________________________________

Cheers,
- Ido

Visual CUT & DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top