![]() |
|
hotlink protection not working? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: hotlink protection not working? (/thread-11883.html) |
hotlink protection not working? - xaphod - 2014-07-25 (keeping this 2nd attempt short & sweet with no links, so i don't get marked as a spammer this time ) I have albums with passwords turned on. The problem is, people can still get to the pictures without the password, if they have the direct link like http://my.site.com/.../albums/.../xyz.jpg RewriteEngine On It is actually recommended to allow blank referers as some personal firewalls or anti virus tools clear the referrer.Uncomment the following line if you want to allow them.RewriteCond %{HTTP_REFERER} !^$Enter your domain here. Add more lines like this to allow more domainsIf you are using Zenphoto in a subdomain write subdomain.yourdomain.com instead (www.)?yourdomain.comRewriteCond %{HTTP_REFERER} !^http(s)?://tim.picturebrothers.ch [NC] Protect your full images in the albums folderRewriteRule .(jpg|jpeg|png|gif|flv|fla|mp4|m4v|m4a|mov|3gp)$ - [NC,F,L] hotlink protection not working? - acrylian - 2014-07-25 You did put that into the /albums folder? Last time this was tried (it is just taken from a htaccess site) it did work for me. Since you mention just to be sure the passwords are only for Zenphoto controlled pages. Direct access is outside. Have a link to one image to try maybe? Feel free to send via mail if you don't want to post it. |