🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
JVM Protected Media icon
Peut-être abandonné Tested up to 6.0.19

JVM Protected Media

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

Installations actives<10Nouveau
Téléchargements · 30D40▲ +33.3% vs prev. 30d
Évaluation—0 avis
Score de santé21/100En danger
Téléchargements de tous les temps2.1KDepuis février 2018
Support résolu—Aucun fil de discussion récent
A besoin deWP 4.4.1Php tout
Téléchargements · 7j7▼ -30% Semaine sur semaine
Notre verdict

Envisager une alternative

JVM Protected Media shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 4 years ago, and scores 21/100 on our health check.

  • Petite base d'utilisateurs (<10 installations actives)
  • Très peu de critiques jusqu'à présent
  • Pas de mise à jour dans 4 ans
  • Uniquement testé jusqu'à WordPress 6,0 (le dernier est de 7,1)

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

134Sep 5Oct 19Dec 3
Hier2
Moyenne quotidienne (1 ans)2
Jour de pointe103 mai 2026
12 Derniers mois597

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where JVM Protected Media stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
attachments >100 4,404 Best attachments plugins →
fichiers >100 10,000 Meilleurs plugins de fichiers →
médias >100 10,000 Meilleurs plugins multimédias →
protect >100 4,216 Best protect plugins →
protection >100 7,261 Best protection plugins →

About JVM Protected Media

À partir du Lisezmoi officiel · v1.0.6

Description

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:

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

Crochets

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
    $userHasAccess = true;

    if($userHasAccess) {
        // Send the file output if users has access to the file
        JVM_Protected_Media::send_file_output($file_info['path']);
    }
}

add_action( 'jvm_protected_media_file', 'my_file_access_rule');

The jvm_protected_media_file action has one parameter with the following file information:

Array
(
    [id] => id_of_the_file
    [url] => full/url/to/your/file
    [path] => full/path/to/your/file
    [is_resized_image] => bool (true if the requested file is a image thumbnail or resized version of an image)
)

Actes

Available actions:

  • jvm_protected_media_loaded (fires as soon as the plugin is loaded)
  • jvm_protected_media_file (fires when a file is requested)

Functions

To send the output of a file to you can call:

JVM_Protected_Media::send_file_output($fullPathToFile)

Installation

  1. Install the plugin from the Plugins or upload the plugin folder to the /wp-content/plugins/ directory menu and then activate it. If your server does not meet the requirements the plugin will show a notification.
  2. Define your own access rules in your themes functions.php

Journal de modifications

1.0.6

Added nginx check and admin notice for nginx users.

1.0.5

Tested up to 5.2.2 and added a comment for nginx usage.

1.0.4

Better flushing of rewrite rules and plugin tested up to 5.0.3

1.0.3

Fix for the .htaccess file being reset in some situations.

1.0.2

Added a 24 hour cache time to the output. This effectivly trigger the 304 not modified header if the file is indeed not modified.

1.0.1

Bug fix: When requesting files that are not in the media library the plugin was not calling the jvm_protected_media_file action. Fixed this. In this case the action is called but the file_id will remain empty.

Journal des modifications complet sur WordPress.org →

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best JVM Protected Media alternatives

All attachments plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 Exporter des supports avec le contenu sélectionné (par DKZR) Exporter des supports avec le contenu sélectionné (par DKZR) Incluez toutes les pièces jointes pertinentes dans votre exportation. par Joost de Keijzer 40K+ ★★★★★★★★★★ 4.5 (93) il y a 1 semaine 89
2 File Upload Types by WPForms File Upload Types by WPForms Easily allow WordPress to accept and upload any file type extension or MIME type, including… de Syed Balkhi 40K+ ★★★★★★★★★★ 4 (20) Il ya 3 jours 85
3 Lightbox with PhotoSwipe Lightbox with PhotoSwipe Integration of PhotoSwipe (http://photoswipe.com) for WordPress. Par Arno Welzel 20K+ ★★★★★★★★★★ 4.9 (116) il y a 1 semaine 92
4 Unique Headers Unique Headers Add unique custom header images to individual pages, posts, categories, or tags. Par Ryan Hellyer 10K+ ★★★★★★★★★★ 4.9 (160) il y a 7 mois 73
5 Media Deduper Media Deduper Save disk space and bring some order to the chaos of your media library by removing and… by cornershop 8K+ ★★★★★★★★★★ 3.8 (44) Il y a 1 an 44
6 Document Gallery Document Gallery This plugin generates thumbnails for documents and displays them in a gallery-like format… by Dan Rossiter 8K+ ★★★★★★★★★★ 4.8 (112) il y a 1 mois 88
7 Télécharger les pièces jointes Télécharger les pièces jointes Télécharger les pièces jointes est une nouvelle approche de la gestion des téléchargements dans WordPress. Cela vous permet de… par factory 8K+ ★★★★★★★★★★ 4.5 (46) il y a 1 semaine 91
8 Responsive WordPress Slider – HG Slider Responsive WordPress Slider – HG Slider A responsive image rotator plugin that easily creates WordPress slideshows. Now 100%… by richardgabriel 7K+ ★★★★★★★★★★ 3.8 (12) Il y a 6 ans 36
9 forumAttachments for bbPress forumAttachments for bbPress Implement attachment upload to the topics and replies in bbPress plugin through a media… Par Milan Petrovic 6K+ ★★★★★★★★★★ 4.3 (26) 3 semaines plus tôt 90
10 Importateur de pièces jointes Importateur de pièces jointes Importez des pièces jointes à partir d'un autre blog WordPress à l'aide d'un fichier WXR. par Spencer Piontkowski 3K+ ★★★★★★★★★★ 4.3 (26) il y a 12 ans 42

FAQ

JVM Protected Media: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is JVM Protected Media free?

Yes. JVM Protected Media is free to download and use from the official WordPress.org plugin directory.

Is JVM Protected Media safe to use in 2026?

JVM Protected Media shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 4 years ago, and scores 21/100 on our health check.

How many websites use JVM Protected Media?

JVM Protected Media is active on <10 WordPress websites and has been downloaded 2,072 times since it launched in February 2018. It was downloaded 40 times in the last 30 days.

Does JVM Protected Media work with WordPress 7.1?

JVM Protected Media is officially tested up to WordPress 6.0.19, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was JVM Protected Media last updated?

The latest version, 1.0.6, was released on September 28, 2022 (4 years ago).

Who makes JVM Protected Media?

JVM Protected Media is developed and maintained by Joris van Montfort.

What are the best alternatives to JVM Protected Media?

The most popular alternatives to JVM Protected Media are Export media with selected… (40K+ installs), File Upload Types by WPForms (40K+ installs) and Lightbox with PhotoSwipe (20K+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir