JVM Protected Media WordPress Plugin | Codefreex Skip to content
JVM Protected Media icon

WordPress plugin

JVM Protected Media

Restrict access to all your media files and implement your own custom file access rules.

By Joris van Montfort
Version
1.0.6
Last updated
Sep 28, 2022
Tested up to
WordPress 6.0.19
Requires
WP 4.4.1

Health check

Is JVM Protected Media safe to rely on?

Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.

No update in over a year

Last updated on September 28, 2022. It may not be compatible with current WordPress or PHP, and unfixed issues are a security risk.

Not yet tested with the latest WordPress

Tested up to WordPress 6.0.19. It often still works, but check on staging first.

Rank tracker

Where JVM Protected Media ranks in WordPress.org search

Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.

WordPress.org search positions for JVM Protected Media
KeywordPositionChangeTrendCurrent #1
attachments
files
media
protect
protection
jvm protected media

Checked against the top 100 WordPress.org search results.

Overview

What JVM Protected Media does

Protect access to all your media files and implement your own custom file access rules using a hook. Works for apache with mod rewrite or nginx with some custom configuration. No Multisite support. This plugin is more or less a development tool for defining your own custom file access rules.

For nginx you will need to modify the config file as nginx does not handle .htacess files. Add the following code:

rewrite ^/wp-content/uploads(/.*\.\w+)$ /index.php?jvm_protected_media_file=$1;

Without a custom hook all file access will be disabled. The user will see the 404 page for all requested files. Adding a hook is needed to handle your own file access rules. A simple example that could go into your functions.php:

function my_file_access_rule($file_info) {

// Implement your own logic here

// Send the file output if users has access to the file

Description from the author's listing. Read the full listing on WordPress.org

FAQ

JVM Protected Media: questions and answers

What is JVM Protected Media?

JVM Protected Media is a WordPress plugin by Joris van Montfort. Restrict access to all your media files and implement your own custom file access rules.

Is JVM Protected Media free?

JVM Protected Media is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.

Is JVM Protected Media still maintained?

JVM Protected Media was last updated on September 28, 2022. The current version is 1.0.6. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.

What does JVM Protected Media require?

JVM Protected Media requires WordPress 4.4.1 or newer. It has been tested up to WordPress 6.0.19.

Can Codefreex set up or customize JVM Protected Media?

Yes. Codefreex installs, configures and customizes WordPress plugins including JVM Protected Media, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.

Free expert review

Need JVM Protected Media set up, customized or fixed?

Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.

Built this plugin yourself? We help WordPress product teams with development, support load and growth. Talk to us