Secure images
ah, the unexpected has happened (speaking sarcastically )
According to my site stats people are starting to host images from my site for their use on other sites (ie; avatars from my forums on other forums, images from my ff sections on other sites). I've seen another site have this program which securely locks all images which are located outside its domain name. I asked the webmaster of that site if he could tell me how/what program did he use to do that but he just ignored me. :cartman:
so can anyone here tell me how to secure my images?
zollet posted this at 20:54 — 22nd June 2002.
He has: 1,016 posts
Joined: May 2002
It's called hot-linking protection. If your account is on a CPanel server, you have the option to turn on hot-linking protection from your account control panel. If not, then you need to create/edit .htaccess in your root www dir and put the following inside it:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^<a href="http://domain.com/." class="bb-url">http://domain.com/.</a>*$ [NC]
RewriteCond %{HTTP_REFERER} !^<a href="http://www.domain.com/." class="bb-url">http://www.domain.com/.</a>*$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ <a href="http://www.domain.com/bad/" class="bb-url">http://www.domain.com/bad/</a> [R,NC]
This will send people that are hot linking to domain.com/bad/ and you can have a message there.
Venomous_One posted this at 22:07 — 22nd June 2002.
They have: 45 posts
Joined: Mar 2002
thanks. I activated it on my CP.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.