Hi Mark,
plug-in has been working great. I am wondering how to protect against people directly downloading photos. eg entering the direct URL to the photo.
I see there is a way using htaccess, though I think there might be a problem as my directory is outside the public_html (as you suggested for setup).
I have tried putting the htaccess file in my TNG directory, though it doesn't work. I get the feeling its because its outside the public_html dir. Perhaps it needs to be done in the plugin code?…………the plugin redirects from the non-public directory to the page in Wordpress that serves the code.
Below is some of the htaccess I have tried.
RewriteEngine On
Options +FollowSymLinks
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\\.)?notrescapade\\.com [NC]
RewriteRule \\.(jpg¦zip¦rar)$ – [F]
#RewriteCond %{HTTP_REFERER} !^$
#RewriteCond %{HTTP_REFERER} !^http://notrescapade.com/.*$ [NC]
#RewriteCond %{HTTP_REFERER} !^http://www.notrescapade.com/.*$ [NC]
#ReWriteRule .*\\.(jpg|jpeg|png|gif)$ – [N,F,L]