WordPress.org

Ready to get started?Download WordPress

Forums

WP-Members
[resolved] Restrict media files to non-loged-in users (2 posts)

  1. baraklevy
    Member
    Posted 1 year ago #

    Hello,
    I have install the plugin and it work fine for pages and posts.
    How can I Restrict media files (png,jpg,pdf) to logged-out users.
    Best Regards,
    Adva.

    http://wordpress.org/extend/plugins/wp-members/

  2. Chad Butler
    Member
    Plugin Author

    Posted 1 year ago #

    You can certainly put the link for a media file behind the login, but that won't protect the file from someone who has the direct link. To accomplish that kind of restriction in a way that really shuts down outside access, you need to use .htaccess to restrict access based on file type.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic