How can you prevent images are used by other websites without your permission?

There are various solutions in this regard, including special programs, mark your photos with your name, or use. Htaccess file as follows, preventing hotlinker from other sites and save bandwidth.

To use the tools you need to have installed on your server or on what your host (apache) with the function of the mod-rewrite.

Xx.xx.xx.xx your domain and should be replaced with any domain or IP address you want to allow access. It should also include the ip address of your domain in this script.

AuthUserFile / dev / null
AuthGroupFile / dev / null
RewriteEngine On
RewriteOptions inherit
RewriteCond% {HTTP_REFERER} ! ^ Http:// .* yourdomain.com / .* $ [NC]
RewriteCond% {HTTP_REFERER} ! Http://XX.XX.XX.XX/ ^ .* $ [NC]
RewriteRule .* [Jj] [Pp] [Gg ]$|.*[ Gg] [Ii] [Ff] $ http://www.yourdomain.com/ [R, L]