I restricted access to "files" folder without right referrer (by manually editing .htaccess)
Here it is.
#Prevent hotlinking
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_REFERER} !domain\.com/ [NC]
RewriteCond %{REQUEST_URI} /files/
RewriteRule .* - [G,L]
#Prevent hotlinking
RewriteCond %{HTTPS} =on
RewriteCond %{HTTPS_REFERER} !domain\.com/ [NC]
RewriteCond %{REQUEST_URI} /files/
RewriteRule .* - [G,L]
But there is no problem. It works OK, EITHER through http or https on the blog itself.
But under admin panel (which I go to via https only), all the previews under "media" section have disappeared.
Can I make admin panel work properly with referrers ?!
p.s. WPMU 2.6.1