![]() |
|
Zenphoto bypasses password for images - 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: Zenphoto bypasses password for images (/thread-13816.html) |
Zenphoto bypasses password for images - Gagala - 03-02-2023 Some folders of my site have images for public viewing, other folders are supposed to have restricted images, protected with a password controlled by the server. The access to those restricted folders went like this: You can bypass the password by doing this: It seems that the application takes the image from the picture buffer for the preview and thumbnail, only the call for the original picture accesses the protected folder. Obviously I have made a big (logical) error here, could you help me, do you have a solution for this? Please and thank you. Zenphoto version 1.6 (Official build) Test file in folder: https://gagala.org/z/Test/ Zenphoto bypasses password for images - acrylian - 03-02-2023 Yes, indeed those URLs triggers the image processor. It still gets you a resized image that may be compressed and not the actual original image. Try setting these:
We will review if the image processor if we can perhaps improve this. Note that if someone finds out the url to the actual full image that will also work since Zenphoto as a script cannot protect direct access. Here you should work with an renamed and external albums folder outside the web root (Please see the config file for info). Zenphoto bypasses password for images - fretzl - 03-02-2023 You can also limit the maximum image size in Options -> Image ->Maximum image size Zenphoto bypasses password for images - Gagala - 04-02-2023 Options > Image > Protect image cache: Doesn't show thumbnails anymore. Options > Image > Secure image processor: Works great! Thanks a bunch! Zenphoto bypasses password for images - Gagala - 04-02-2023 OOPS! Correction! When I switch on 'Secure image processor', the automatic load of a thumbnail or preview for new files, or if I have have purged the image cache, does not work. I hope you'll find a solution for this soon. |