How do I do that?
I have a few pictures and avatars I made for my friends, but I don't want them to use the images without permission. How do I protect my images?
TheChosen0ne
0
Newbie Poster
Recommended Answers
Jump to PostMost hosting services offer hotlink protection. Otherwise you need access to your document root .htaccess file
RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://yoursite/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://yoursite$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.yoursite/.*$ [NC] RewriteCond %{HTTP_REFERER} !^
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.