Make Media Library files private: block direct URL access to PDFs and images so only logged-in users can open them. Apache rules + Nginx snippet.
Alternatives to Private Media
Plugins below are selected for functional relevance and current directory signals. Active-install counts do not affect this ranking.
WordPress plugins with similar use cases
Compatibility and update metadata provide context, not a quality guarantee. Review each plugin’s details for your site.
Local WebP optimizer for WordPress. Free converts images to WebP; Pro adds AVIF and site-wide image tools.
Export your WordPress media library to a downloadable ZIP file. Exclude thumbnails and filter by upload date.
A secure, private WordPress client portal that installs automatically with zero technical setup. Organized folders, client logins, staff access, docum …
Simple plugin to scan "uploads" directory and bring those files into Media Library.
Find, preview, and safely delete unused images from your WordPress Media Library with a clean, fast, and secure admin panel.
Blocks direct access to uploaded media files for visitors who are not logged in. File URLs stay unchanged.
Find which media files are in use and which are safe to delete, so you can clean up your uploads folder with confidence.
Prevent public access to WordPress files and folders. Protect downloads from public access. Role and user based folder access in premium plans only.
Detect and permanently delete orphaned uploads (files physically present on disk without an attachment in the Media Library).