Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Hide url and file locations to limit downloads  (Read 6601 times)

0 Members and 1 Guest are viewing this topic.

Loki66

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Hide url and file locations to limit downloads
« 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


Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Hide url and file locations to limit downloads
« Reply #1 on: May 23, 2005, 07:52:55 am »

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

Loki66

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Re: Hide url and file locations to limit downloads
« Reply #2 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 .... ???
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Hide url and file locations to limit downloads
« Reply #3 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
Logged

Loki66

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Re: Hide url and file locations to limit downloads
« Reply #4 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Hide url and file locations to limit downloads
« Reply #5 on: May 24, 2005, 10:19:26 am »

reply to the thread where the htaccess trick is being discussed, not this one.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.