Protect attachment files from direct access using powerful and flexible restrictions. Offer safe download links for any file in your uploads folder.
Media Vault cordons off a section of your WordPress uploads folder and secures it, protecting all files within by passing requests for them through a powerful, flexible and completely customizable set of permission checks.
After activating the plugin, to protect attachment files with Media Vault you can:
By default the only permission check that the plugin does on media files is that the user requesting them be logged in. You can change this default behavior from the 'Media Settings' page in the 'Settings' menu of the WordPress Admin. You can also change the restrictions set on attachments on an individual basis by means of the Media Vault metabox on the 'Edit Media' page.
You can also write your own custom restrictions using the
mgjp_mv_add_permission() function. See this support question for more details.
Creating a cross-browser compatible download link for a file is a harder task than might be expected. Media Vault handles this for you, and it does so while preserving all the file security features discussed earlier like blocking downloads to people who should not have access to the file.
The download links are available through a simple shortcode that you can use in your post/page editor screen:
where 'ids' are the comma separated list of attachment ids you would like to make available for download in the list.
Note: Plugin comes with styles ready for WordPress mp6!
Note: Now supports WordPress MultiSite!
Requires: 3.5.0 or higher
Compatible up to: 3.7.1
Last Updated: 2013-12-6
3 of 4 support threads in the last two months have been resolved.
Got something to say? Need help?