• My goal is to protect a certain folder within wp-content/uploads, or perhaps the entire wp-content/uploads folder (and all sub-folders within it). Ideally, no one could access an uploaded file within this folder unless the user is logged in to the site.

    I like the simplicity of this plugin, and think it could work.

    Would this be possible? Any suggestions as to how to add a small edit to the beginning of the php file to specify that this plugin should only be used if the URL being targeted is within this folder?

    https://www.ads-software.com/extend/plugins/protected-site/

Viewing 1 replies (of 1 total)
  • I need exactly this also!

    I have some files in the /uploads folder that I need to protect.

    I’m currently using the members plugin and that does OK for protecting the landing page and posts.

    I tried this /protected-site/ plugin and it also allowed visitors to get to the file without being logged in.

    Can anyone suggest a plugin or code edit to achieve this?

    ?? Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Protected Site] Restrict only a single folder?’ is closed to new replies.