Would you like to understand how to restrict WordPress media access to certain users?

Create and manage a multi-author blog is a good thing, especially if the articles are of good quality, but also when they are published on a regular basis. But the problem is that it is not always easy to hide certain files from users with a certain role. (Contributor or author).

This is when an important concern arises, and that is the fact that users can see the media sent by everyone. (including those uploaded by the administrator)

Discover How to manage your media on WordPress with the Gmedia Library plugin

This aspect can be particularly troublesome, because even for private projects that you (administrator) are about to create, some users will be able to easily access these images. We will not discuss the case of the images you will buy for your blog. (which will be downloadable for free by these users).

In this tutorial we will show you how to restrict access to all media on your blog WordPress for some users.

But before we start, if you have never installed WordPress, find out How to Install a WordPress Blog in 7 Steps et How to search, install and activate a WordPress theme on your blog 

The first thing to do is download, install and activate the plugin WP Digital Users. After activating the extension, you will not have to make any adjustments because it is functional after installation).

If you've never done it, find out How to install a plugin in WordPress

To see how the Plugin works, you will need to create two new users having " Author " for role. Log in with each of these accounts on different browsers if you want to see a difference in real time or take turns logging in on the same browser (Firefox, IE, Chrome) and upload your images.

Go further by discovering How to have advanced user control on WordPress

You will quickly notice that the images available are those that were sent by the logged in user, and not those of other users. You can check this by logging in with the different accounts (including that of the administrator).

Discover Why do you have to start optimizing your WordPress blog by images

To better illustrate the functionality of this plugin, we created two users: Tina and Sam. We uploaded 3 images using both accounts.

Here is the library of Tina's account.

how to restrict access to WordPress media to certain users - tina-media-library

Here is the library of the Sam account.

how to restrict access to WordPress media - sam-mediatheque

And finally, here is how the media library is displayed with the administrator account.

admin-media library

This plugin is general, even in the window for sending images. Users will only be able to see the images that they have uploaded.

add-a-media

That's what this beautiful WordPress Plugin.

Discover also some premium WordPress plugins  

You can use other WordPress plugins to give a modern appearance and to optimize the handling or operation of your blog or website.

Here are some premium WordPress plugins that we recommend. 

1. Ultimate Membership Pro

Ultimate Membership Pro is a great WordPress Plugin subscription premium and content restriction. It allows users to be managed according to their package (free or premium) by creating exclusive access levels.

Ultimate Membership Pro WordPress Membership Plugin

It will therefore be possible to protect all the content of your website, or just part of it. It will be for example a course, a lesson, a page, a product, a category, an image, etc ...

Its main functionalities are among others: content protection, multiple access levels, support for multiple Payment gateways - PayPal, Authorize.net, Stripe, 2CheckOut, Bank Transfer-, partial content protection, and much more ...

Download | Demo | Web hosting 

2. Youzer

Youzer is another WordPress Plugin premium packed with features and perfect for creating any website that wants to restrict its content. But it's not just for that, it can also help you transform your website into a real community platform.

Youzer Buddypress Community bbPress Forums User Profiles WordPress Plugin New Era

Its features are plethoric and list them here would be to simply write an article dedicated to this plugin. Also note that at the level of the layout and overall appearance of this WordPress plugin, you will be seduced by its maturity and robustness.

Also read our article on:  8 WordPress plugins to integrate a reduction system

Simply check out his demo and make an opinion that will be specific to what you expect from any WordPress plugin this niche.

Download | Demo | Web hosting

3. Ninja Popups

With its many sales and excellent rating, Ninja Popups is one of the WordPress plugins most popular premium products available on Code Canyon.

Ninja Popups wordpress plugins create popup pop up opt in

In addition to a huge range of templates for a variety of uses, it also comes with several features such as: a visual popup builder, 10 different popup display positions, 74 different animation effects, support anti-blocking technology to bypass ad blockers, a variety of targeting options, statistics in the dashboard, content blocking for email opt-in or social media shares, tons of integration with email marketing services and more.

Download | Demo | Web hosting

Recommended Resources

Find out about other recommended resources to help you build and manage your website.

Conclusion

Here is ! We hope this tutorial helps you restrict access to all media to different authors and contributors on your blog. WordPress. Please do not hesitate to contact us if you do not understand a point.

However, you will also be able to consult our resources, if you need more elements to carry out your projects of creation of Internet sites, by consulting our guide on the WordPress blog creation.

If you liked it, don't hesitate to share with your friends on your favorite social networks

...