Portal Home > Knowledgebase > Articles Database > Ways to reduce BW on a video hosting site.


Ways to reduce BW on a video hosting site.




Posted by Darvil, 10-10-2008, 05:42 AM
So on a youtube clone, any if you guys come up with efficient ways to reduce bw and to stop people leeching? Right now I'm looking at mod_iplimitconn and mod_bw. Any of you guys using this and do these mods work well? Anyone here found a good way to stop direct hot linking to videos stored on your server? (flv). Other then putting some animation infront of it that shows that its your video, I'm wondering if there is a nice solution. I see some people talk about randomized links so that hotlinking wouldn't work. Would a solution like that work for a youtube clone? And where can you get that sorta modification. I'm assuming it isn't just a simple htaccess.

Posted by rathin, 10-10-2008, 06:28 AM
i used mod_iplimitconn it worked very nice, iam 100% sure mod_iplimitconn will help u

Posted by WebHostingNeeds, 10-10-2008, 07:14 AM
Use lightttpd with mod_secdownload for serving flv files.

Posted by Darvil, 10-10-2008, 03:49 PM
Rathin, Thanks for the vote of confidence. I will definitely use it. flashwebhost That mod_secdownload sounds excellent. But how does that fit into the picture (context) if it is a youtube clone? Can you provide more details? What if you have to use apache with modrewrite? This mod_secdownload definately sounds great.

Posted by WebHostingNeeds, 10-10-2008, 04:01 PM
It need some custom modification in the code to get lighttpd working with youtube clone. Also you need to be on a shared or VPS server, then only you can install lighttpd/mod_secdownload.

Posted by Darvil, 10-10-2008, 04:38 PM
I have a dedicated server where I install openvz and create a big VPS for the clone site. Now if the script I'm using is HEAVILY reliant on mod_rewrite then it is pretty much impossible for me. I'm not too familiar with lighttpd; are there modules that allows it use apache .htaccess files? Plus it also means the script will have to be modified to use mod_secdownload correct? Where can I read up more info on this? Or do I have to hire someone to do this?

Posted by WebHostingNeeds, 10-10-2008, 05:13 PM
It is complete different setup, you will need to install lighttpd, then point the FLV url to lighttpd server, this will need change in code. You can find more about mod_secdownload at http://trac.lighttpd.net/trac/wiki/Docs:ModSecDownload

Posted by WebHostingNeeds, 10-10-2008, 05:17 PM
See the path to FLV at http://video.bizhat.com/view/723/nice-parking/ You will not able to use the FLV link more then X minutes, the link will expire after some time.

Posted by Darvil, 10-10-2008, 05:46 PM
So X minutes of whenever that link is generated, the link will eventually expire and not work anymore. So the only way to view the videos would have to be through the actual site itself? What are some downsides to using this method? I imagine that this will prevent people from linking your site too would it not?

Posted by WebHostingNeeds, 10-10-2008, 05:55 PM
Yes, it won't allow hot linking. drawback is it will prevent embedded code to work. For small sites, it is better do not allow embedded video on other sites.

Posted by Darvil, 10-10-2008, 06:24 PM
Are there modules like limitipconn for lighttpd? Seems if you go lighttpd then you lose all those other modules written for apache. Life just ain't easy.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
PrimeMaster Online (Views: 487)