coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: claude258 on June 30, 2006, 04:36:39 AM

Title: Direct link
Post by: claude258 on June 30, 2006, 04:36:39 AM
I saw in a forum that someone put a direct link to a video of my gallery.

The direct link is something like:
www.claudebriere.net/coppermine/albums/album1/video1.wmv

but the url should be something like:
http://claudebriere.net/coppermine/displayimage.php?pos=-1193

First, how can someone get or find the direct link?
Second, can I avoid people to do this?

Thanks.
Title: Re: Direct link
Post by: Tranz on June 30, 2006, 05:56:15 AM
It's not hard to get the info... it's in the html source code. Though it's not as easy as it is with an image where you can just right click the file.

This has been discussed at my webhost's forums. http://www.lunarforums.com/forum/index.php?action=search2 and search for: hotlink wmv

There are a few threads discussing it. You can also do a general search for it elsewhere. It's just that I know people who actually used the solution over there. I haven't tried it myself.
Title: Re: Direct link
Post by: Stramm on June 30, 2006, 03:00:59 PM
http://forum.coppermine-gallery.net/index.php?topic=30738.0
Title: Re: Direct link
Post by: blackmamba on June 30, 2006, 07:15:40 PM
you can edit your virtual host in the apache config against HOT LINKING.

There are many ways to do that, you can even select what tipe of files you want to protect ... so, google is your friend.
Title: Re: Direct link
Post by: Stramm on June 30, 2006, 08:08:57 PM
no, you can't protect movies from hotlinking that easy. To verify that -> google is your friend
Title: Re: Direct link
Post by: claude258 on July 01, 2006, 04:24:42 AM
I found a solution: I went to CPanel and I found the HOTLINK PROTECTION option.
I enable it and it seems to work.
Is it the right thing to do? Is it the best thing to do?
Title: Re: Direct link
Post by: Tranz on July 01, 2006, 04:45:54 AM
How did you test it to see if it worked? The resource I pointed to you earlier indicated that hotlink protection in cpanel does not work for wmv files.
Title: Re: Direct link
Post by: claude258 on July 01, 2006, 11:14:47 PM
Sorry, you are absolutly right. I tested with a jpeg... ::)
So it is not that easy to be protected from wmv hot linking ... :(