Prevent Hotlinking and Bandwidth Theft
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
Prevent Hotlinking and Bandwidth Theft
You do not have the required permissions to view the files attached to this post.
Re: Prevent Hotlinking and Bandwidth Theft
thanks, that was fast!
[edit]so like the post said, is this only for uploaded attachments? How can i protect other files, lets say a .flv that i have in another folder so that no one can use it only my site? can i use something like this!?[/edit]
[edit]so like the post said, is this only for uploaded attachments? How can i protect other files, lets say a .flv that i have in another folder so that no one can use it only my site? can i use something like this!?[/edit]
Last edited by cisco007 on 25 Mar 2010, 13:51, edited 1 time in total.
Reason: added a question!
Reason: added a question!
Re: Prevent Hotlinking and Bandwidth Theft
cisco007 » 24 Mar 2010, 21:03 wrote:thanks, that was fast!
[edit]so like the post said, is this only for uploaded attachments? How can i protect other files, lets say a .flv that i have in another folder so that no one can use it only my site? can i use something like this!?[/edit]
I would think so...
Do the same steps but the the flv folder instead, while putting the .htaccess on the flv folder and change the script so it fits

Re: Prevent Hotlinking and Bandwidth Theft
Yes, upload a htaccess file to the folder where the flv files is located:
Note that I just changed php with flv
Code: Select all
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+.)?phpbb3bbcodes.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*.(flv)$ ../stop.gif [L]
Re: Prevent Hotlinking and Bandwidth Theft
i have done it, and it don't work! Maybe have something to do with my server!
Re: Prevent Hotlinking and Bandwidth Theft
I think it is because the flv is cached in your browser.
Try post one in the testforum.
Try post one in the testforum.
Re: Prevent Hotlinking and Bandwidth Theft
Stoker » 25 Mar 2010, 21:13 wrote:I think it is because the flv is cached in your browser.
Try post one in the testforum.
