Home Forums Community Support Forum Protecting Uploads

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4723
    voltateam
    Participant

    Hi – I have set up the Orbisius WP Media Protector on a clients website using these instructions: https://orbisius.com/products/wordpress-plugins/orbisius-wp-media-protector

    and I’ve added the following code to the FTP:

    # Protect all files within the uploads folder
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_URI} ^(.*?/?)wp-content/uploads/.* [NC]
    RewriteCond %{REQUEST_URI} !orbisius_media_protector [NC]
    RewriteRule . %1/?orbisius_media_protector=%{REQUEST_URI} [L,QSA]
    </IfModule>

    BUT – when activated the website doesn’t show any images whatsoever on the website until you login…

    Can anyone help?

    Thanks,
    Volta.

    #4724
    Slavi Marinov
    Keymaster

    Yes, that’s the idea. all files to be protected and not some. images could have sensitive info too.

    How to Restrict Access to WordPress Uploads Folder to Logged-in Users only

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.