4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: cardsup on June 11, 2005, 08:55:59 PM
-
My gallery is set up in a way that only members can download zipped files of the images. However, if a non-user guesses the location of the download folder and the file structure, he/she can download the files...I feel that this folder should be protected.
I used the .htaccess method. I added the .htaccess file to the download folder. The problem is that when I am logged in as an user and I download the zipped file, it appears to be corrupted. When I remove the .htaccess file, everything seems to be working normally and the zipped file is fine.
I guess one way to fix that is move the download location outside of web-root. I have two questions:
1. Is it possible to modify the script so I do not have to add the exact path to the zipped files manually in the admin panel? I have over 2000 downloadable images.
2. How can I change Download URL to Download path?