You can protect your PDF file with a custom password using Python
What the program does?
- Paste your pdf file url or drag and drop to secure
- Protect it with a password
- A terminal windows program
The simplest method is to install the portable version using the .exe file, available at this link.
Or install with python:
- Python
- Python Libraries:
PyPDF2 pwinput pyinstaller
-
Install the dependencies following these steps :
- Star this repository
- <>Code > Download ZIP > Open cmd/terminal in that location
- Run this command :
pip install -r requirements.txt - Run
main.py
-
If you want to build and creat a .exe program:
- Run this command :
pyinstaller --onefile --icon=lock.ico main.py - Your .exe file in your generated dist folder
- Run this command :
* The setup for different projects might not be the same. Please refer to the individual setup guides given for each project.
