View previous topic :: View next topic |
Author |
Message |
Terrorhawk -
Joined: 26 Jul 2003 Posts: 8
|
Posted: Wed Oct 01, 2003 8:30 pm Post subject: linking from other sites |
|
|
there are very mutch sites that a stealing my images and music files..
i heard that there is a solutium if you add a .htacces file but i tryed but it wont work..
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.com/.*$ [NC]
RewriteRule \.(gif|jpg|mp3)$ - [F]
this is what i sould add.. but it wont work .. does the server dont support .htacces ?? |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Wed Oct 01, 2003 11:49 pm Post subject: |
|
|
No. htaccess files are for Apache. |
|
Back to top |
|
 |
mcwilliams132 -
Joined: 27 Jul 2003 Posts: 167 Location: Oshkosh, WI
|
Posted: Thu Oct 02, 2003 6:27 pm Post subject: |
|
|
I believe theare are some javascripts that are available that will either encode your links or prevent people from right-clicking and doing a 'save target as"...
do a search for content protection or similar variations on that... _________________ ::::::::::::::::::::::::::::::::::::::::::::::::::
:: Jon-Paul LeClair
:: http://mcwilliamsworld.com
:: "Lobster sticks to magnet!" |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Fri Oct 03, 2003 2:43 pm Post subject: |
|
|
I don't think that's what he was looking for. The Apache code he posted is to stop cross site leeching. Javascript/right mouse button stuff is just an annoyance - you can still merrily grab the address and set up off site links direct to files.
Try googling for PHP anti-leech scripts... |
|
Back to top |
|
 |
Terrorhawk -
Joined: 26 Jul 2003 Posts: 8
|
Posted: Mon Oct 06, 2003 6:15 pm Post subject: |
|
|
yes the javascript is not good enough.. i now do it with blocking the sites ip adres in the firewall but thats allot of work :) |
|
Back to top |
|
 |
|