Skip to content

advanced encryption #91

Description

@erfantkerfan

in some files I need to encrypt pdf file with 2 properties:

  1. opening the pdf file does not require a password at all
  2. making any changes (and if possible printing) would require the owner_pwd

I tried reading the source code but it seemed that this logic wont work with such code:

output_file = PdfFileWriter()
output_file.encrypt(user_pwd="", owner_pwd="password")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions