forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Athlon(tm) eX on March 03, 2004, 04:51:08 pm

Title: accessing password protected album folder
Post by: Athlon(tm) eX on March 03, 2004, 04:51:08 pm
I've just installed watermark Hack ( by DJAxion tobic is here (http://coppermine.sourceforge.net/oldboard/viewtopic.php?t=961) ) and it works perfect...

but in another hand every one can just type the picture url in the browser and have the picture unwatermarked... so I just make the album folder Username/Passowrd protected to deny this...

first I test the coppermine with password protected album folder, nothing wrong and every thing works perfect...

but when I tried to upload an image, an error accour since the album folder is protected...

coppermine could'nt upload the picture... so ImageMagick could'nt

is there any solution ??
Title: accessing password protected album folder
Post by: Joachim Müller on March 04, 2004, 06:11:54 am
You'll have to find out in what user context the webserver runs and allow it's access. This will require some advanced messing with .htaccess.
The other option is to have the pics stored outside of the webroot, but this requires even more in-depth knowledge - there are no general howtos/instructions for this, you'll have to adjust this for yourself...
This has been said very often when addressing the watermark hack and image protection: if you really don't want people to Steal" you pics, don't publish them on the internet. If you want them watermarked under all circumstances, do so locally on your client before uploading. There are some good programs that can batch-add watermarks on your client in no time. A nice side effect: this will consume less resources on your server...

GauGau
Title: accessing password protected album folder
Post by: Athlon(tm) eX on March 06, 2004, 07:47:59 am
thanks gaugau for your reply...

I'll try to do this in another way

at this time is okay to have the album folder opened since few peoples know how to have the real url of pictures...

I'll try to make some php's with both hack and coppermine to make it harder to find the real url

but not this time... as i'm working with designing new theme for my gallery