Closed ghost closed 8 years ago
sorry, this is not possible.. phantomjs doesn't provide a way to protect a pdf file with a password
Adding password protection is not a concern of this package. Please try to use additional package and add password encryption to the produced pdf afterwards.
Maybe this would help https://github.com/nrhirani/node-qpdf
I want to use this module for creating pdf file. but with a functionality of password protection. can we do that using this module?? or not?