3 ms·
If the images themselves are direct (png, jpg, etc) how would you set this up? Would you just change your site to use different images (and change those at the
by veyron 14y ago
If the images themselves are direct (png, jpg, etc) how would you set this up? Would you just change your site to use different images (and change those at the existing addresses) or is there some sort of way to get apache or whatever server to do this for you?
- jack-r-abbit 14y agoA quick Google search landed me here: http://stackoverflow.com/questions/6977613/differentiate-between-hotlinking-vs-user-on-site http://stackoverflow.com/questions/6977613/differentiate-bet... From there you could do any number of things. Always serve up one single "hotlink.jpg" image. Rewrite all image paths to include a special "/hotlinked/" folder so all you images get duplicated and then water marked. Rewrite all images paths to send the original image path to a script that would dynamically watermark or swap images. I'm sure there are other things you can do. But the main objective is to not have to change any of your own source code.
- jfc 14y agoThis online tool will generate the .htaccess rules for you based on your inputs (URLs, etc.) - http://www.htaccesstools.com/hotlink-protection/ http://www.htaccesstools.com/hotlink-protection/