forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: Loki66 on May 22, 2005, 11:39:58 am

Title: Hide url and file locations to limit downloads
Post by: Loki66 on May 22, 2005, 11:39:58 am
Helllo,

Is there an easy way to hide URL and files location so that members can download only a limited number of pics ?

In intermediate or thumb mode, right-click image, copy the URL of the image, and paste in a different window.  In order to get full-sized image, you have to delete "normal_" or "thumb_"  from the URL before pasting it in the new window. You can even do that from the thumbnails page without registering.

I am looking for a way to encrypt the url (URL bar, bottom bar, right-click, ...) without disabling the right-click feature.  I haven't found any hack in CPG nor PHP code to do that.

Your help appreciated.

Loki


Title: Re: Hide url and file locations to limit downloads
Post by: Joachim Müller on May 23, 2005, 07:52:55 am
this has been reuqested before, no hack available that I know of.
Title: Re: Hide url and file locations to limit downloads
Post by: Loki66 on May 23, 2005, 12:05:12 pm
What about modifying the script to give intermediate and thumbnails, when they are created, different names than the original pics?. I believe this would not be 2 difficult and be very well appreciated by the community. we want to save bandwith and our guests to register. If anybody can guess easily where the images are located, they won't register and we won't be able to maintain our websites and thwart copycats .... ???
Title: Re: Hide url and file locations to limit downloads
Post by: Tranz on May 23, 2005, 06:10:53 pm
If you can modify the .htaccess file, you can make it so people cannot access image files directly even if they know the URL. http://forum.coppermine-gallery.net/index.php?topic=10196.0
Title: Re: Hide url and file locations to limit downloads
Post by: Loki66 on May 24, 2005, 09:19:37 am
Thanks TranzDance but I put the htaccess file, all images are blank ... Did I miss something ?

Loki
Title: Re: Hide url and file locations to limit downloads
Post by: Joachim Müller on May 24, 2005, 10:19:26 am
reply to the thread where the htaccess trick is being discussed, not this one.