![]() |
|
paginate edit image list + security concern - 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: paginate edit image list + security concern (/thread-2086.html) |
paginate edit image list + security concern - durango99 - 2008-01-15 First off, wonderful photo gallery system. Love the ease of use for end-users and the wealth of functions and classes for the programming/hacking/theming folks. I had a couple things that I'm curious how others feel about or deal with: 1] When editing an large album, it becomes a bandwidth and performance issue when the image list is generated. Also it becomes unwieldly to traverse the image list and after editing a photo. Is there any work or discussion on creating a paginated image list? 2] Although ZP has the nice feature of password protecting an album, like other gallery systems, the photos reside within the webroot filesystem and could be accessed bypassing the password security. Of course, the filename and folder names would need to be known but security by obscurity is not the best security For example knowing that a admin uploads photos using the native camera autonumbering filename (e.g. img001.jpg, img002.jpg etc) into a password protected album, an anonymous user could guess that and type: http://www.example.com/zenphoto/cache/secretalbum/img001.jpg and see and download the photo without ever having to type a password. What I've done with other gallery systems is move the cache out of the webroot and modify the image handling php code to render the image instead of the webserver. Thoughts? Thanks! paginate edit image list + security concern - acrylian - 2008-01-15
Please post tickets on the trac for both feature requests. Both request will then be added to the poll on our news page, too. paginate edit image list + security concern - sbillard - 2008-01-16 Have you looked into doing something in your .htaccess file to prevent this? See http://www.zenphoto.org/support/topic.php?id=2091&replies=3 for a similar approach to protecting the zp-core files. |