• Welcome to WebsiteBaker Community Forum. Please log in or sign up.
Welcome, Guest
News
Support WebsiteBaker
Your donations will help to:
PayPal
  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!
You can donate by clicking on the button below.

Make MEDIA-folders/files for "Registered" pages inaccessible

Started by CodeALot, October 11, 2021, 02:32:53 PM  ( Read 9,683 times )

CodeALot

Here's my problem:
I have a page in WB 2.13 that runs a OneForAll module. This page is accessible for logged in users only.
The images that are stored for that OneForAll module are in MEDIA/OneForAll
That folder under MEDIA is not protected by the "Registered" status of the page itself. So in theory, the files inside that Media-folder can be accessed from outside (if you know the URL or if Google for some odd reason indexed them - robots.txt isn't always a guaranteed solution...)

How do I prevent not-logged-in people from accessing /MEDIA/OneForAll/images/item1/example.jpg ?

    crnogorac081

    Web developer

    CodeALot

    Thanks, I'll try to decode that, it's in an English section but because the topic switched to German very quickly it's very hard to read for non-German visitors. (I will keep fighting for a more international approach in this forum until the day I die, I guess :-) )
    Also, from what I read and understood so far, this is not a definitive solution?

      crnogorac081

      Bro Im english speaking and use google translate i think this is 5min job if you need help pm me
        Web developer

        \n\n