Reputation: 97
Stuck in a strange problem. As per client requirement, I need to generate all text output files in PDI with password-protection. I have implemented PGP encryption and Symmetric cryptography(OpenPGP configured on mysystem). But I am at loss how to generate password protected file.
Any suggestions!!!
Upvotes: 0
Views: 2137
Reputation: 621
I don't think it is possible to create password protected files using PDI. I would rather suggest you to try the following:
How to make the folder password protected?
For Windows:
a. You can do it manually. OR
b. Write a batch script to make it password protected. After you output all
your files in that folder, create another transformation to run that
batch file which will make that folder password protected.
For Linux, try this: https://superuser.com/questions/249497/how-to-encrypt-a-file-or-directory-in-linux
It is just a suggestion.
Upvotes: 1
Reputation: 11375
For PDF, there are configuration settings for passwords in the report designer.
For Excel, there is no way to do that as Microsoft never published a specification for that fileformat. CSV files and TXT files are text files - there is no way you can ask for passwords on text files.
Upvotes: 0