Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Generate PDF with password encryption

Former Member
0 Likes
4,034

Hello,

I would like to ask you about the procedure generating PDF file with password protection.

PDF files are attached to email and send do employees.

I know how to generate PDF file during runtime but I can't find the solution how to encrypt it with a password.

I find only this solution:

http://scn.sap.com/people/pavan.vudaga/blog/2012/07/06/email-pdf-attachment-with-password-protection

where I must buy a external product, but I'm not so sure that my company agree on that solution.

Is there any other way to encrypt PDF file with password?

Hello,

I would like to ask you about the procedure generating PDF file with password protection.

PDF files are attached to email and send do employees.

I know how to generate PDF file during runtime but I can't find the solution how to encrypt it with a password.

I find only this solution:

http://scn.sap.com/people/pavan.vudaga/blog/2012/07/06/email-pdf-attachment-with-password-protection

where I must buy a external product, but I'm not so sure that my company agree on that solution.

Is there any other way to encrypt PDF file with password?

6 REPLIES 6
Read only

arindam_m
Active Contributor
0 Likes
1,623

Hi,

A little bit of PI may be helpful in your case

http://scn.sap.com/docs/DOC-34713

Cheers,

Arindam

Read only

Former Member
0 Likes
1,623

Hi Arindam Mondal,

Few days ago I saw this page. I'm sorry but it didn't help me so much.

Read only

Former Member
0 Likes
1,623

Hello Taraknath Dey,

This is the same solution that I mentioned at the beginning.

I would like to avoid external products.

Read only

Former Member
0 Likes
1,623

Hello my friends,

I found solution but it require of C# knowledge.

The first step is to generate PDF files and download them to disc.

In the next step I created external program that read PDF files and encrypt them. I used iTextSharp Library, you can download it from this site.

Thank you for your commitment.

Read only

0 Likes
1,623

This message was moderated.