Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/jemirokasih/secure-pdf-protector/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Protect uploaded PDF files in WordPress so only logged-in users can access them.
Features
- Protect PDF files inside
/wp-content/uploads/ - Require WordPress login
- Block direct PDF access
- Compatible with Crocoblock / JetEngine
- Lightweight and simple
- No external dependencies
Installation
- Upload plugin to:
/wp-content/plugins/secure-pdf-protector/
-
Activate plugin from WordPress admin
-
Save permalink settings (don't change anything):
- Settings
- Permalinks
- Save Changes
Apache Protection
Create .htaccess inside:
/wp-content/uploads/
Add:
<FilesMatch "\.(pdf)$">
Order Allow,Deny
Deny from all
</FilesMatch>Releases
1 release.
Tag
Published
v1.2.0
latest
May 11, 2026 5mo ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.