I’d like to prevent image leeching from my store. I don’t see a setting for this in the store. How to best go about this? .htaccess?
Yes, htaccess. If you have cPanel, it will do it for you under “Hotlink protection”
Here is the code you should put in your .htaccess file:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yourdomain.com [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ - [NC,F,L]