Restricted Media

Description

Install and activate Restricted Media plugin, then enter the WordPress Media Library, select an element and look at the right sidebar. You’ll find two new fields:

  • a checkbox that let’s you define if the selected element is to keep restricted or not
  • an alternative URL for the element to download

When “Is restricted” checkbox is flagged, the selected element will get downloadable only to logged in users and only through the alternative URL (original URL will display a 404 page).
When “Is restricted” checkbox is not flagged, media element will be downloadable for not logged in users too, through both the original and the alternative URL.

So, what you need to do to keep a media private is to tick on “Is restricted”, copy the Alternative URL provided and paste it on pages or posts where you want the let the media to be downloaded: if a not logged in user tries to download it, he will be redirect to homepage or to the page you have defined into “Restricted Media” plugin options.

Since release 1.2 it is now possible to prevent access to selected pages, post and public custom posts by checking “Is restricted” into post editor.

Since release 1.3 it is now possible to allow access to media or content only to a specific role, by selecting the role name right after “Is restricted” checkbox.

Since release 1.4 no more file rename to protect media, just simple htaccess rules

That’s it! Simple, effective and safe.

In association with Main Entrance, Restricted Media helps you to build a restricted content page, for allowing to download documents only to logged in users.

Whatever is worth doing at all is worth doing well

Translations

  • English: default language
  • Italian: entirely translated

Credits

Screenshots

  • Restricted Media setup page

Installation

Installation From Plugin Repository

  • Into your WordPress plugin section, press “Add New”
  • Use “Restricted Media” as search term
  • Click on Install Now on Restricted Media into result page, then click on Activate
  • Set “Restricted Media” options by clicking on the link you find under the “Tools” menu

Manual Installation

  • Download Restricted Media from https://wordpress.org/plugins/restricted-media
  • Into your WordPress plugin section, press “Add New” then press “Load Plugin”
  • Choose restricted-media.zip file from your local download folder
  • Press “Install Now”
  • Activate Restricted Media
  • Set “Restricted Media” options by clicking on the link you find under the “Tools” menu
  • Enjoy!

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Restricted Media” is open source software. The following people have contributed to this plugin.

Contributors

“Restricted Media” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Restricted Media” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.5

  • New version for a better compliance with WPML: update plugin and then switch between languages into WordPress dashboard, so that everything will be properly updated to the new way of managing restricted media

1.4

  • Completely re engineered, so please update now! No more file rename to protect media, just simple htaccess rules

1.3

  • You can now define which role can view the restricted media or content

1.2

  • Now you can prevent access also to pages, post and public custom posts

1.1

  • Some minor bug fix

1.0

  • First full working release