Quantcast
Channel: Apache 2: Prevent image hotlinking serverwide - Server Fault
Viewing all articles
Browse latest Browse all 5

Answer by pQd for Apache 2: Prevent image hotlinking serverwide

$
0
0

referer checking not always works, some proxies or even browsers strip HTTP_REFERER header from http requests.

it's much better to check some cookies in your content-generating code [ eg index.php that generates picture gallery ] and check on mod-rewrite or apache2 level if cookie is set to expected value.

look here or here.


Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>