Skip to:
Content
Pages
Categories
Search
Top
Bottom

Images and downloads protection

  • Avatar of Builder
    Builder
    Participant

    @bpuser44

    Hi NM,
    You’ve done some nice work with your plugin. From your descriptions, it can be easy seen that you have fun with it like with a hobby. Do you plan to hide also images in posts (in future they might be also be uploads functions in bbpress), and images in BP Album+ etc. areas and download? Just asking. Anyway, thank you.

Viewing 1 replies (of 1 total)
  • Avatar of nipponmonkey
    NipponMonkey
    Member

    @nipponmonkey

    @Builder, I’m not sure what you mean.

    Your images on private pages won’t be shown as the the private page will be blocked, so no image will be shown.

    What the plugin can’t do is stop access to images and files that are accessed directly:
    http://my-domain.com/wp-content/uploads/2010/06/image_1.jpg

    This is because no PHP code is run in this call to the server. To protect your uploaded files, you’d have to use some server code in your .htaccess file. I’m not sure what the best way of doing this is at the moment.

    It’s quite difficult to get right as ideally, logged in users should be able to access there images directly while logged out users can’t at all. This would require some tricky .htaccess code.

    If anyone knows the best way to do this, let me know and I’ll add the instructions to the main plugin description.

    Cheers

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.