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: Changing download video/file links to relative links  (Read 4130 times)

0 Members and 1 Guest are viewing this topic.

nontekkyguy

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 59
Changing download video/file links to relative links
« on: April 10, 2008, 02:55:40 am »

Is there a way and if so to change the "download link" url to a relative url / link as opposed to a qualified link. I've noticed that there has been some sharing of my video content by unregistered users.
Thanks
Logged
learning requires patience; teaching requires more

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Changing download video/file links to relative links
« Reply #1 on: April 10, 2008, 07:11:09 am »

The download link doesn't exist in coppermine out of the box, so you must have applied a mod. Since we don't know what mod you applied, we can't advice at all. You better come up with some sort of hotlink protection using .htaccess means.
« Last Edit: December 02, 2008, 10:57:15 pm by Joachim Müller »
Logged

nontekkyguy

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 59
Re: Changing download video/file links to relative links
« Reply #2 on: December 02, 2008, 12:50:19 pm »

That works
thanks!
Logged
learning requires patience; teaching requires more

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Changing download video/file links to relative links
« Reply #3 on: December 02, 2008, 10:58:21 pm »

What works? Please resolve your threads properly.
Logged

nontekkyguy

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 59
Re: Changing download video/file links to relative links
« Reply #4 on: December 03, 2008, 11:34:22 pm »

What works? Please resolve your threads properly.

Hi for folks using security scripts in addition to CPG, the download link to video files shows as a "relative link". Pennywise and strongbox scripts require a relative link. I didn't apply a mod but actually asked the developers of the scripts to accomodate cpg users. Strongbox developers made the changes. I'm not sure what exactly was done but now video files on my client's site are protected against leeching and unauthorized link sharing. I hope that answers this. If anyone needs more info, I will contact the developer of the security script to get more details.
Logged
learning requires patience; teaching requires more
Pages: [1]   Go Up
 

Page created in 0.04 seconds with 16 queries.