JVM Protected Media
Restrict access to all your media files and implement your own custom file access rules.
Betrachten Sie eine 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.
- Kleine Benutzerbasis (<10 aktive Installationen)
- Bisher sehr wenige Bewertungen
- Kein Update in 4 Jahren
- Nur getestet bis WordPress 6.0 (letzter IS 7.1)
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where JVM Protected Media stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| attachments | >100 |
| files | >100 |
| media | >100 |
| protect | >100 |
| protection | >100 |
About JVM Protected Media
Aus der offiziellen Readme · V1.0.6Beschreibung
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;
}
Haken
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)
)
Actions
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
- 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. - Define your own access rules in your themes functions.php
Änderungsprotokoll
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.
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best JVM Protected Media alternatives
All attachments plugins →Fragen und Antworten
JVM Protected Media: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: 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).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte
