agroszer I want to have an all private gallery, publicly hosted on the internet, but only visible to user (family) members. Nothing should be accessible without a login. Well, just the login form. Piwigo version: 2.6.1
plg Hi agroszer, With plugin LocalFiles Editor, in local configuration, add: <?php $conf['guest_access'] = false; ?>
plg Still in your local configuration, add: $conf['original_url_protection'] = 'all'; TODO: manage .htaccess in "galleries" and "upload" folders
agroszer $conf['original_url_protection'] = 'all'; That seems to protect original images, but thumbnails and various sizes are still served directly... Any chance to route those too via some php page?
rvelices In fact I just realized that my example is not safe because even if we serve thumbs through our script, there is absolutely no check on permissions in this one.
flop25 agroszer wroteouch! right. i.php does not enforce being logged on. I think this is a bug, isn't it? No it has been already discussed in the threads I gave. Only Gallery v3 protect like you want but that's very very heavy
flop25 No But the only way to get files would be to brute force name files which is obviously endless since the upload randomise the filename and you will quickly see that someone is brute forcing
rvelices agroszer wroteI think this is a bug, isn't it? Not really because we might also serve images in mails and private RSS feeds.