tsgrp / OpenContent

TSG's Web Services for ECM Repositories
8 stars 4 forks source link

Password protecting PDF downloads #89

Open LoganLaFollette opened 5 years ago

LoganLaFollette commented 5 years ago

I have implemented an encryption option for downloaded PDFs in a client branch. This feature could be useful if adjusted for trunk. The clients implementation is in an Alfresco enviornment, which, if enabled, password protects any PDF download through content/content calls as well as the export folder and download as zip action executers. There is also a PDF_Encryption branch which contains a custom content interceptor for encrypting Alfresco share downloads.

For reference, the PDFUtil methods to be used for encryption are included in OC revision: 20315

Enhancements to be considered for trunk:

Things to note: