Blogroll
A great source of information for Lotus Domino administrators
Jeff Potts' excellent ECM/Portal blog
Lots of very useful Alfresco articles
| Encrypting PDF Documents with Alfresco |
|
|
|
| Written by Nathan McMinn |
| Wednesday, 08 September 2010 19:06 |
|
Last week I released the code for a PDF watermarking action for Alfresco. While watermarking is certainly useful, I have much more extensive needs around PDF documents. I need digital signatures, document permissions and encryption. Well, as of today, the last two are up and running! Using the same iText library that powers the PDF watermarking actions, I have just completed a PDF encryption action. To try it out, either download the updated AMP (version 0.92, available here) or build it from the project source, install the module, and restart your Alfresco server. When you view the list of actions, you will see a new item in the list, Encrypt PDF.
The encryption action can take a few parameters. Only one, the destination space, is required. The rest are optional. Notice that there are two password fields. The first, the user password, is used to set a password that is required for user access to the document. The second, the owner password, is the password that will be required if you attempt to modify the document permissions after it has been encrypted. The following document permissions are also supported:
Allow printing
The last checkbox is used to set whether or not you want metadata included in the encryption operation. If you choose to encrypt the metadata, the document will most likely not show up in any search results, as Lucene will not be able to index it. Leaving the metadata unencrypted at least allows this portion of the document to be indexed. Finally, there is a choice of encryption levels. Standard PDF 40 / 128 bit encryption are supported, along with the more secure 128 bit AES.
I have tested this with a variety of PDF documents, and so far everything is working as intended. If you run into any issues with this action or the PDF watermarking, please open an issue at the Google Code project.
Enjoy! |
| Last Updated on Friday, 10 September 2010 07:01 |
About Me

My name is Nathan McMinn. I'm a software engineer, beer geek, wannabe adventurer and genuinely curious guy. Find me on Facebook, Linkedin or Twitter
Latest Comments
- Storing and Retrieving Images ...
Hi, Thanks for your tutorial. it suggestion really... - Alfresco PDF Toolkit - Digital...
It will be very useful, if at one go I can digital... - Integrating Alfresco Content i...
Hola estoy trabajando con el módulo de drupal CMIS... - Integrating Alfresco Content i...
Hola estoy trabajando con el módulo de drupal CMIS... - Calling Web Services from the ...
Nvm - resolved it - needed to restart browser for ...





Comments
This site is about encryption of PDF documents, there is always chance of loss of data so security is more. We must maintain it. Thanks a lot.
I don't think Alfresco has printing directly from the repository to a printer as a feature. You can, of course, download and print a doc.
The plugin discussed here just does PDF encryption, not anything to do with printing.
Best of luck
All this module does is take a source PDF, set some optional document permissions and encrypt it. I don't make any assumptions about what the user wants to do with the destination file or the source file. If you want to delete the original file, you could use a second content rule to do so.
When a PDF is encrypted, the content and (optionally) the metadata are encrypted. The document is decrypted in the viewer once the correct password is provided.
I'm a little confused about how this should be used. It looks like the original file is uploaded and then encrypted and stored in a new destination location. Shouldn't the original be deleted? Why wouldn't you overwrite the original?
The decryption would occur on the user machine in Reader or Acrobat after downloading, opening and then supplying the correct password?
What, specifically, isn't working? Are you having trouble installing? Are the actions showing up in the list? Anything notable in the log files?
is their any special treatment is needed to install in Alfresco 3.3g
RSS feed for comments to this post.