-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encrypt only with owner password? #13
Comments
@techjp, as you already know, these permissions are enforced by the reader app, not by strong encryption, so they are trivial to bypass. However, I agree that it would be nice to encrypt only with an owner password, and I will try to work this into V2. Thank you for the suggestion. |
I just wanted to ask for the same functionality - and then found this already existing issue! I found this neat little tool, because I was asked for exactly this "Adobe-function". - But now I have to wait for version 2? |
@Hubgut Thanks for your input. I am working hard to finish PDFEncrypt V2 as soon as possible. Going back to add features to v1 would seriously cut into my small available time to work on v2. I hope to have it released in the next 1-3 months. Sorry for the delays. In regard to your desire to encrypt the file with permissions, please read my post about DRM and PDF files. PDF should not be used as a DRM solution! Remember that the permission settings are almost useless, as they are ignored by many PDF readers, and can be easily bypassed. However, encryption with strong algorithm (AES-256) and strong password cannot be easily bypassed. This is one of the concerns with allowing encryption without a user password: it completely breaks the strong protections offered by encryption, and allows any user to gain access to the full PDF file with only a few steps (such as opening the PDF in a reader that doesn't enforce permissions). You would be just as well sending the unencrypted PDF file in such cases and thus the usefulness and security of PDFEncrypt is completely compromised. I would be interested in your thoughts on this matter. |
Thanks for your quick reply! |
@Hubgut I definitely understand your viewpoint, and I am most likely going to add this feature to V2 (albeit with strong warnings to the end user before proceeding). Please try to understand, as even you stated in your reply: there is a misunderstanding with normal users about "security" of PDF documents using permission settings. While you and I understand that there is nothing secure about the permission settings, I must be very careful not to give other users a false sense of security, or allow a misunderstanding to exist that could possibly compromise their confidential documents. While your documents do not contain secret information, keep in mind that many users depend on PDFEncrypt to protect actual confidential documents. As an example, Firefox PDF viewer (pdf.js) ignores permissions. I'd say that's a fairly mainstream viewer that may be present on many users' machines. I am happy to add features to the software, but security must take highest precedence. It is very difficult to explain the permissions vs encryption to end users - this is why I wrote the blog post. Most won't take time to read it, however. I am open to suggestions for adding this feature without compromising security and ensuring users are aware of the risks and limitations of their choice. Users need to understand that PDF encryption is very strong when correct algorithms and strong passwords are used, but the permissions are very weak. It is also hard to convey that that the weakness of permissions doesn't compromise the security of properly encrypted PDF documents. I am open to your suggestions and comments. |
I think we completely agree about this topic! Edit: And again I forgot to mention something. |
@Hubgut Thanks for your kind response. I am glad you see the difficulty in securely sharing passwords and PDF files without placing the password directly into the same email! Because of this issue, I am working on another project that is complementary to the PDFEncrypt project, which will enable secure sharing of PDF files among users without the need to send passwords in email, and also avoiding uploading unencrypted documents to any server. (This means nobody, not even the server host, can access the document contents!) I am very excited about this and am working to incorporate it directly into the PDFEncrypt app. (More details as PDFEncrypt V2 is released!) :) I do like the idea of adding certificate signing to PDFEncrypt, as this is the correct way to "stamp" documents at a certain version level and track changes thereafter. Please feel free to add this as a feature request so that I don't forget it! Regarding your current use case... could you get around the problem by instructing all users to encrypt their files with a simple password such as "x"? This would allow all users to utilize the current v1 PDFEncrypt and avoid online encryption apps, and not need to generate new passwords for all documents. They would just remember to use 'x' to open all documents. However, this may not work for docs that are distributed outside the organization... Just a suggestion for a quick fix at the current time until V2 comes out. Thanks again for your understanding and I look forward to your feedback on V2. Best regards, |
Shouldn't it be possible to only encrypt with the owner password? That would lock down the permissions (on readers that support it) without requiring a password to open the file. It's supported by Acrobat Pro, would love a free tool that does this too.
The text was updated successfully, but these errors were encountered: