![]() |
|
Private gallery but photos accessible through URL - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Private gallery but photos accessible through URL (/thread-12597.html) |
Private gallery but photos accessible through URL - blunt - 2016-10-05 Hello. I have created a gallery and set it as private in Options->Gallery. When I try to access the site without credentials, I get a login screen. If I try to access a photo with the following URL /August-20-2016/0003.jpg I also get a login screen. However, if I try to access the same image with /albums/August-20-2016/0003.jpg I can see the photo even though I am not logged in. The first link is the slideshow view for that photo, while the second link is a full size image, without the controls to move around. Am I missing something in the configuration? Shouldn't the access be private? Private gallery but photos accessible through URL - fretzl - 2016-10-06 Yes, since Zenphoto is file system based, you can access images directly [b]if[/b] you know their path. Private gallery but photos accessible through URL - acrylian - 2016-10-06 I think missing on that paragraph is that you can also move the location "albums" folder above the web root. See the config file Private gallery but photos accessible through URL - acrylian - 2016-10-06 Addtion: If you use single image page urls without a modrewrite suffix (see Options) like And no the image suffix cannot be removed because you can certainly have same name images with different suffixes Zenphoto then could not differ. |