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: Hotlinking prevtion through .hta  (Read 1357 times)

0 Members and 1 Guest are viewing this topic.

mahesh1825

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Hotlinking prevtion through .hta
« on: January 26, 2011, 09:20:33 am »

i want to prevent the hotlinking from the fullsize and intermediate images but. i want to allow the thumbs are being hotlinked. to achieve this i used this code in .hta file in root directory.

Code: [Select]
RewriteCond %{REQUEST_FILENAME} !(.*thumb|.*highlight) [NC]
Iam working on test bench so i can't post the working link

My question is is there any security threat to the gallery or functional difficulty for the version of 1.5.12?

i search the forum regarding this and found one but its based on 1.4.x and i don't have the required information on that.

http://forum.coppermine-gallery.net/index.php/topic,44005.0.html
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: Hotlinking prevtion through .hta
« Reply #1 on: January 26, 2011, 09:52:22 am »

Should work in cpg1.5.x as in cpg1.4.x.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 22 queries.