View Single Post
Old 06-11-2014, 09:59 AM  
robber
Web Developer
 
Industry Role:
Join Date: Jan 2011
Location: UK
Posts: 264
Hi newdipshit, you could block them from your .htaccess file by enforcing hotlink protection and only allowing your own site to access the file direct, also by ensuring that the files are stored somewhere which is not accessible within the normal domains then ensure your video player / viewer is pointed to your internal folder, this would stop most attempts to get your content.

The line for your .htaccess file would be

Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite.com/.*$ [NC]
RewriteRule \.(jpg|jpeg|gif|png|bmp)$ - [F]
This would block any attempt made by an outside site to access anything on the denied list of extensions, if you have more than one site just keep adding condition lines.

Although if you were going to be offering an affiliate plan then it's your choice if to allow people to hotlink your content or if they need to host it themselves

Hope this helps

Rob
FD Networks
robber is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook