Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Don't allow direct links  (Read 3238 times)

0 Members and 1 Guest are viewing this topic.

Zit

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Don't allow direct links
« on: August 30, 2009, 08:10:53 pm »

Hello,
i'am using coppermine gallery 1.4 and i have seen that it's possible to get (externally) access to the uploaded photos with a direct link (...albums/userpics/10001/1/123456789.jpg).
Via htaccess i can block these access but i also blocks the loged-in user :/

Has someone an idea how i can forbid the access via direct linking the photos?

Thanks,

Zit
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Don't allow direct links
« Reply #1 on: August 30, 2009, 10:34:07 pm »

No, that's nearly impossible. Has been discussed before. Someone who knows the path to the image can access it. You'd have to create the images dynamically (or move them around) and purge those temporary files after a short period. This would create an incredible load on the server and therefor would be only an option on galleries that get very little traffic.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.