WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Media Vault

Protect attachment files from direct access using powerful and flexible restrictions. Offer safe download links for any file in your uploads folder.

0.8.12

fixed bug in mv-file-handler.php causing php Notice and corrupted files. Big thanks to user ikivanov for pointing it out and providing the solution!

0.8.11

  • fixed bug in mv-metaboxes.php causing php Notice. Thank you user ikivanov for pointing it out!
  • fixed bug in mv-metaboxes.php causing metabox stylesheet not to be served

0.8.10

Fixed typo causing php error in mv-extra-activation-steps.php. Thank you user wwn2013 for pointing it out!

0.8.9

  • Added Attachment Edit fields to the new Media Modal to make it easier to manage which files are protected with Media Vault and what permissions are set on each protected file.
  • Fixed visual bug with IE8 and the general sibling selector not showing permissions in the Media Vault Metabox on the attachment edit admin page.
  • Organized minified js code into seperate folder

0.8.8

fixed bug in mv-file-handler.php that allowed files to be viewed in the protected folder when 'Save uploads in year/month folders' was not selected. Thanks to WayneHarris for pointing the issue out.

0.8.7

added a body class to the WP admin to let Media Vault know to use the new 3.8+ styles

0.8.6

fixed code that required php 5.4 and above, to be compatible with older versions of php

0.8.5

  • Now the plugin is not fully enabled if the rewrite rules are detected to not be fully functioning as required
  • Added flag to indicate Media Vault can only be network activated on WordPress Multisite installs
  • Added return to homepage link in standard access denied message on protected media
  • Added Media Vault Activation/Deactivation Helper (MVADH) to support setups where Media Vault cannot automatically configure all components it needs to function, particularly the rewrite rules. Currently, MVADH supports single & multisite WordPress installs on Apache + mod_rewrite. Support for more server technologies coming soon. MVADH not supporting a particular server technology does not mean Media Vault cannot work with that technology, just that you may need to figure some of how to make the rewrite rules work by yourself.
  • Added much better support for WP multisite: better activation support, better deactivation support, better uninstallation support, better rewrite rule support, better file-handling support, better plugin update support.
  • Added MVADH rewrite rule support for ugly permalink setups
  • Made some performance tweaks & minor bugfixing

0.8

  • added functionality to allow a place-holder image to replace a requested protected image.
  • refactored permission resolving functions to be more thorough and efficient.
  • modified mgjp_mv_admin_check_user_permitted() function to handle non admin checking and renamed it to mgjp_mv_check_user_permitted() to reflect this.
  • added plugin update handling class to manage per update required changes fluidly.
  • created an uninstall.php file and moved all settings removal actions there so that settings are now saved when a user only deactivates and does not remove the plugin.
  • added a link to the Media Vault settings to the Plugins page.
  • fixed bug with the Media Vault metabox not being able to set the default permission on the attachment.
  • fixed bug with the mgjp_mv_get_the_permission() function returning the wrong permission.

0.7.1

The Metabox - added a Media Vault metabox to the attachment editor screen to manage protection meta + bugfixing on the bulk actions script

0.7

Minor remastering of permission checking code to address protected attachment access from within the WordPress backend. Highly recommended to immediately update.

  • Rewrote default permissions to return rather than using wp_die directly. They now MUST either return true upon determining the current user is permitted to access a particular attachment; or if access is denied: false or a WP_Error object with an error message included.
  • Added mgjp_mv_admin_check_user_permitted() function to use permission functions to change access to attachments while within the WP Admin.
  • Hooked into the 'user_has_cap' and 'media_row_actions' filters to restrict what users could see and manipulate in the backend for the specific attachments they did not have the permission to access.
  • Rewrote the custom permission checking function handling section of the file-handling script mv-file-handler.php to accommodate the changes to the way custom permission functions now return values.

0.6

Initial Release.

Requires: 3.5.0 or higher
Compatible up to: 3.8.3
Last Updated: 2014-2-18
Downloads: 2,610

Ratings

4 stars
4.9 out of 5 stars

Support

1 of 7 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,2,2 100,1,1 100,1,1 50,2,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,2,2 100,1,1
100,1,1