Nowadays, many hosts or programs have anti-hotlinking functions, including anti-hotlinking for pictures and downloads.
For example:
1. Use .htaccess to set up anti-hotlinking
-
- RewriteEngine on
- RewriteCond %{HTTP_REFERER} !^$
- RewriteCond %{HTTP_REFERER} !^http://(www.)?jbxue.com/.*$ [NC]
- RewriteRule .(gif| jpg)$ http://bbs.it-home.org/image.gif [R,L]
Copy code
|