WordPress.org

Ready to get started?Download WordPress

Forums

New Media Library (user role restricted) (3 posts)

  1. pdot86
    Member
    Posted 1 year ago #

    I'm looking for a way to create a new admin panel that will contain a new media library that is separate from the regular media library.

    It would be nice if the files could also be restricted to authenticated users only.

    The only place the files would need to be accessed is through the admin panel, no need to insert the media into posts or anything like that.

    ...I'm not quite sure if there is already a plugin for this, or if I should be hand coding it- any advice would be helpful, thanks in advance.

  2. bcworkz
    Member
    Posted 1 year ago #

    It's simple enough to restrict access via the admin panel, but if anyone has the proper path info, the file is theirs to view without restriction unless the folder is protected by Auth Basic or Digest at the server level, who's username password system is completely separate from WP. Most users would consider the double password layers intrusive unless something really important was being protected.

    I don't know enough of available plugins to directly answer your primary question, I just wanted to point out the folder security issue.

  3. pdot86
    Member
    Posted 1 year ago #

    @bcworkz - understood, it's nothing extremely sensitive... I planned on using htaccess and robots.txt to stop directory listing and crawling. I just want to have a separate second media library for say editor+ user roles to access without ever needing to insert the files into a post, think of it like a media library for internal documents.

Topic Closed

This topic has been closed to new replies.

About this Topic