Do you need to restrict media files access in WordPress? If you have multiple authors in your blog then it is recommended to to disable the ability for users to access other users files or attachments through the media button and featured image section. You can add this functionality in your blog by using one simple plugin WP User Media. It displays only the current user’s media files and attachments in admin area which is really very effective solution to keep the media files super private.
Most amazing part is you do not need to shake up any settings after installing and activating the plugin, it works right away when you activate it.
To test it out create 2 users, 1 Admin and another one is Author. As an Admin you are able to see all media files from all the users on the site. Then login as Author and you will only see Author’s files.