Use cases & file types

Protect bulk media libraries, education files, and creative portfolios in WordPress

Need to lock down a bulk media library, an education portal, or a professional photography/video portfolio? Media Guard protects 30+ file types with role-based access, download blocking, watermarks, and purchase gating. Use it for broad media libraries with unlimited protected files starting on Pro, for education sites that need PDFs, workbooks, slide decks, and lesson files locked behind student access, or to securely deliver high-quality media sets to your clients.

Selling files? See how to block PDF downloads in WordPress with WooCommerce.

Deep dive into your specific use case:

Photographers & Visual Artists → Course Creators & LMS → Podcasters & Audio → Internal Teams & B2B →
Bulk media libraries

Lock down 30+ file types at scale

Protect PDFs, documents, EPUBs, video, audio, slide decks, ZIPs, and more in one secure library. Pro unlocks unlimited protected files and extended file types, so you can gate large media vaults without exposed raw URLs.

Education lockdown

Protect PDFs, workbooks, and lesson files

Lock down course PDFs, reading packs, worksheets, slide decks, and bonus downloads for students. Keep LearnDash or LifterLMS for lessons and progression; use Media Guard to protect the files students actually open.

Member & client vaults

Give each user only their files

Build paid resource libraries, photography client galleries, customer portals, and internal training hubs where each user only sees the files their role or purchase allows.

Who uses Media Guard

Built for bulk media libraries and education portals

The strongest fits usually fall into two buckets: bulk media protection across many file types, or education-style PDF and course-file lockdown for schools, tutors, training teams, and LMS sites.

Bulk media libraries & member vaults

Protect hundreds of PDFs, EPUBs, ZIPs, audio tracks, video modules, templates, and resource files behind one shortcode library. Pro removes file-count limits and unlocks extended file types, so large media vaults stay protected without exposed raw URLs.

bulk media .pdf .epub .mp4 .zip

Courses, schools & LMS

Protect course PDFs, workbooks, lesson decks, reading packs, and supporting downloads behind role-based access. LearnDash and LifterLMS can manage lessons and students; Media Guard handles the PDF and course-file lockdown inside that experience.

LearnDash LifterLMS .pdf workbooks lesson files

Audio & podcast producers

Protect audio files from downloading and link sharing. Serve premium podcast episodes, audiobooks, and sound packs through a secure player that streams without exposing a download URL. Watermark each listener's stream with their email.

.mp3 .m4a .wav .ogg

Video content & screencasts

Protect video files in WordPress without a third-party hosting service. MP4, WEBM, and OGG videos stream through an authenticated endpoint — no direct file access. Combined with role or purchase gating, only paying viewers can watch.

.mp4 .webm .ogg

Membership & subscription sites

Gate media files to WordPress roles assigned by membership plugins — MemberPress, Paid Memberships Pro, Restrict Content Pro, Ultimate Member, or WooCommerce Subscriptions. Members see their files; everyone else sees a login or purchase prompt.

roles WooCommerce memberships

Internal teams & client portals

Share SOPs, training manuals, brand guidelines, contracts, and sensitive documents with staff or clients — protected from downloading and forwarding. Assign access by WordPress role and track every file view in the access log.

.pdf .docx .xlsx access log

Photographers & visual artists

Deliver high-resolution RAW photos, images, and video footage securely to clients. The built-in gallery shortcode creates stunning, responsive grids that open into a hardened slideshow viewer. Perfect for client proofing and selling premium asset packs.

RAW photos client galleries slideshow

WooCommerce digital products

Replace WooCommerce's unprotected download links with server-denied, viewer-streamed files. Customers view what they purchased — they can't download, print, or share the URL. The [mediaguard_library] shortcode builds a personalized download portal automatically.

purchase-gated library HPOS

Document protection & compliance

Protect sensitive documents in WordPress — contracts, financial reports, HR policies, and compliance materials. Watermarks identify the viewer, access logs create an audit trail, and server-level denial prevents direct URL access.

.pdf .docx watermark audit
30+ supported formats

Protect PDFs, documents, and media in WordPress

Each format streams through a secure, authenticated PHP endpoint. No direct download links, no exposed URLs. The file never leaves your server, whether you are protecting one workbook or a full media library.

Documents & PDFs

Protect PDF files, Word documents, Excel spreadsheets, and PowerPoint presentations. PDFs render in a hardened PDF.js viewer with toolbar removal, print interception, and page-by-page streaming. Office formats are served through an authenticated endpoint.

PDF DOCX XLSX PPTX DOC XLS PPT ODT ODS ODP RTF TXT

PDF viewer includes: toolbar removal, download button disabled, print intercepted, right-click blocked, CSS + dynamic watermarks, page-by-page streaming via NGINX X-Accel or PHP readfile.

eBooks

Protect EPUB ebooks in WordPress with an in-browser reader that prevents downloading, printing, and copy-paste. Readers flip through pages in a reflowable viewer — the book file stays on your server. Great for authors, publishers, and course creators selling digital books.

EPUB

Video

Protect video files in WordPress without relying on Vimeo or Wistia. MP4, WEBM, and OGG videos stream through an authenticated PHP endpoint. The video URL is never exposed in the page source. Combined with role or purchase gating, only authorized viewers can watch.

MP4 WEBM OGV OGG (video)

Audio

Protect audio files from downloading and hotlinking. Podcast episodes, audiobook chapters, music tracks, and sound design packs stream through a secure player. The raw file URL is never visible. Watermark each stream with the listener's identity.

MP3 WAV M4A OGG (audio) FLAC AAC WMA

Images & graphics

Protect high-resolution images, design files, and photography from right-click saving and direct URL access. Useful for stock photography sites, design asset libraries, and client proof galleries running on WordPress.

JPG PNG GIF WEBP SVG BMP
How file protection works

Four layers between your files and unauthorized access

01

Server-level file denial

Protected files live in a directory blocked by .htaccess or NGINX rules. No direct URL access — even if someone guesses the path. The file is never served as a download.

02

Authenticated streaming

Files stream through an authenticated PHP endpoint that checks the user's role, group, or WooCommerce purchase history before serving a single byte. NGINX X-Accel-Redirect available for high-performance setups.

03

Hardened in-browser viewer

PDFs render in a stripped-down PDF.js viewer. Video and audio play through secure HTML5 players. Print, download, right-click, Ctrl+S, and drag-to-desktop are all intercepted.

04

Watermarks & access logs

CSS and dynamic watermarks overlay the viewer with the reader's email, name, or IP. Every file view is logged — who viewed what, when, and from where. If content leaks, the watermark traces it.

Compatibility

Works with the WordPress stack you already use

LearnDash and LifterLMS handle the course flow. Media Guard protects the course files, member libraries, and bulk downloads inside that flow.

WooCommerce — gate files to specific products. Purchase triggers access automatically. HPOS and block checkout supported.
MemberPress & Paid Memberships Pro — role-based gating works out of the box with any membership plugin that assigns WordPress roles.
LearnDash & LifterLMS — use them for lessons and student progression; use Media Guard to protect the workbooks, PDFs, video modules, and download libraries attached to those courses.
Restrict Content Pro & Ultimate Member — any plugin that maps access levels to WordPress roles integrates without configuration.
NGINX & Apache — server-level denial works with both. NGINX X-Accel-Redirect for high-performance file streaming.
Complete lockdown for your digital assets

The ultimate way to protect media WordPress creators depend on

When you need to protect PDF files WordPress visitors access, or you are looking for a reliable way to bulk protect media WordPress sites host, Media Guard delivers. Educators can effortlessly protect courses WordPress LMS platforms generate, while creators can natively wordpress protect media with just a few clicks. It's the most secure way to protect media WordPress offers today.

Visual artists and videographers can securely protect videos WordPress users stream, protect photos WordPress portfolios display, and specifically protect photography photos WordPress studios sell to clients. Our hardened viewer allows you to fully lockdown photos WordPress users view and strictly lockdown files WordPress libraries store, making sure your proprietary assets stay on your server.

Stop relying on easily-shared download links. Media Guard allows you to safely protect files by subscriptions WordPress membership plugins use, ensuring only active, paying customers get access.

Questions

File protection FAQ

01 How do I protect media, PDFs, and documents in WordPress?

Upload the file through Media Guard, gate it by role, group, or WooCommerce purchase, and stream it through the hardened viewer instead of a public media URL. That protects PDFs, protects documents in WordPress, blocks PDF downloads, and keeps the file on your server instead of the visitor's hard drive.

02 Does Media Guard replace LearnDash or LifterLMS?

No. LearnDash and LifterLMS are LMS platforms for lessons, quizzes, enrollment, and progression. Media Guard is the protected-content layer that locks down the PDFs, videos, audio files, and downloads students access inside those systems.

03 Can I bulk protect files for a course or member library?

Yes. Upload the files through the Media Guard manager, apply role or purchase rules, and surface them with shortcodes. Pro and Agency are built for large lesson libraries, paid vaults, and multi-file member portals.

04 Can users still screenshot protected files?

Browser-level screenshot blocking is not possible on the open web — any tool that claims otherwise is misleading. Media Guard focuses on what's enforceable: blocking downloads, prints, and saves, plus adding watermarks that identify the person if screenshots get shared. The combination of inconvenience and traceability is the strongest protection available in a browser.

05 Does it work with files already in my WordPress media library?

Protected files go into a separate, server-denied directory managed by Media Guard — not the standard WordPress media library. You upload files through the Media Guard file manager. This ensures no public URL ever exists for the file.

06 How is this different from password-protecting a WordPress page?

Password-protecting a page hides the page content, but any file links on that page are still direct, shareable URLs. Media Guard protects the files themselves at the server level. Even if someone gets the file URL, the server denies access unless they're authenticated and authorized.

07 What WordPress versions are supported?

Media Guard requires WordPress 6.0 or newer and PHP 7.4+. It's tested against the latest WordPress releases and works with both classic and block themes.

08 Is there a file size limit?

No hard limit in the plugin. The practical limit depends on your server's PHP upload_max_filesize and post_max_size settings. The free tier caps individual files at 10 MB; Pro and Agency have no plugin-side limit.

Ready?

Start protecting bulk media and education files today

Install the free version and protect your first two PDFs or lesson files in under five minutes. Upgrade to Pro when you need unlimited files across 30+ formats, watermarks, access logs, and protected student or member libraries.