Hide url and file locations to limit downloads Hide url and file locations to limit downloads
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Hide url and file locations to limit downloads

Started by Loki66, May 22, 2005, 11:39:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Loki66

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



Joachim Müller

this has been reuqested before, no hack available that I know of.

Loki66

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 .... ???

Tranz

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

Loki66

Thanks TranzDance but I put the htaccess file, all images are blank ... Did I miss something ?

Loki

Joachim Müller

reply to the thread where the htaccess trick is being discussed, not this one.