Mod rewrite Code Library

Code Library - 3rd Party Image/Page protection

Security
3rd Party Image/Page protection (Hot Linking)

htaccess code
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?domain.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp|wmv|mpg|mpeg|avi)$ - [F,L]

home | blog | tutorials | code library

Questions that are answered here:

  • How to protect my images from leechers?
  • How to protect my images from 3rd party sites?
  • How to protect image pirating from my webpage?
  • Hot to prevent hot linking from my images?

Mod Rewrite (Home) | Mod Rewrite Tutorials | Directory | Code Library | Blog | Mod Rewrite Quick Guide

copyright © 2001 - 2010 Webforgers.net
Owned By SEO Uncloaked, LLC
Aggressive Search Engine Optimization
All rights reserved.