coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: MerNion on July 02, 2005, 01:06:30 AM

Title: View original sized photos be removing the thumb_ prefix
Post by: MerNion on July 02, 2005, 01:06:30 AM
I have added the "trick" with !USER_ID in order visitors not to see the displayimages.php page but in the thumbnails.php where it shows the thumbs of the images if you right click on the image and you copy the image url you get this:
http://www.somedomain.com/images/albums/album_name_/thumb_000692.jpg

If you then just paste http://www.somedomain.com/images/albums/album_name_/000692.jpg  (without the thumb_ prefix) you see the original sized image....

Any ideas how to prevent that?

(sorry if this has been discussed somewhere else but from a simple search i did i din't find anything)
Title: Re: View original sized photos be removing the thumb_ prefix
Post by: Joachim Müller on July 04, 2005, 08:22:53 AM
no, if someone knows how coppermine works, he will be able to get the full-size image, there's no known workaround yet.
Title: Re: View original sized photos be removing the thumb_ prefix
Post by: MerNion on August 06, 2005, 10:46:59 PM
I managed to do that with the use of .htaccess file and the rewrite engine.. if someone requests an image in this folder and he was not referer there by my domain, he then gets redirected to another page.
Title: Re: View original sized photos be removing the thumb_ prefix
Post by: Stramm on August 07, 2005, 08:30:00 AM
Disadvantage is that all Norton users won't be able to browse your site cause Norton deletes the referrer info (and some other firewall/ privacy products as well)
Title: Re: View original sized photos be removing the thumb_ prefix
Post by: MerNion on August 07, 2005, 09:35:12 AM
Yeah, i know that and i was very worried when i was adding this htacces file.
But from the stats of the site, i have only seen a 2% of 403 errors