Creator: Paul Mendoza
Created on: December 31, 2024
Connect with Me:
- Facebook: Paul Mendoza
- Instagram: Paul Mendoza
PDF Protector by Falcon is a Python-based application designed to protect PDF files by adding a password or removing passwords from encrypted PDF files. The program utilizes the PyPDF2 library for PDF manipulation and Tkinter for the graphical user interface.
Protect a PDF with Password: Encrypt a PDF file by adding a password to it. Remove Password from a Protected PDF: Decrypt a PDF file by removing its password (requires the original password). Simple User Interface: The app provides a simple and intuitive interface to browse files, enter passwords, and perform actions.
- Python 3.x
- Libraries:
Tkinter(for the GUI)PyPDF2(for PDF handling)
pip install PyPDF2
- Download the source code files to your local machine.
- Make sure the following images are in the
images/folder in the same directory as your Python script:
icon.png(app icon)images1.png(header image)select_icon.png(icon for selecting files)btn_image.png(icon for the Protect button)remove_password_image.png(icon for the Remove Password button)remove_pass.png(icon for removing the password from PDF)
-
Run the Python script:
python main.py
- Click on the "Browse" button to select the source PDF file you want to protect.
- Enter the target filename for the protected PDF file.
- Enter the password you want to set for the PDF file.
- Click the "Protect PDF" button to apply the password.
- Click the "Remove Password" button to open a new window.
- Browse and select the protected PDF file.
- Enter the target filename for the new unprotected PDF.
- Enter the password to decrypt the PDF (if correct, the password will be removed).
- Click the "Remove Password" button to process.
- If you forget the password for a PDF, click the "Forgot Password?" button to see potential solutions to recover the password.
- If any required images are missing, an error message will be displayed.
- If the PDF file is not properly selected or the password is incorrect, error messages will appear to guide you.
