I have a web application where users can upload PDF documents. Is there a PHP library that I can use to password protect the PDF file? I need the library to preserve all aspects of the original PDF (i.e. size, fonts, resolution, etc).
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
Download the library used: Protect PDF in PHP
EDIT Original source of library used. Please note that my answer above was not tested using the script from the original source. I downloaded from the third party link above and I didn't check if they're exactly the same.