Geekpedia Tutorials Home

Building a C# Chat Client and Server

Building a C# Chat Client and ServerA step by step tutorial teaching you how to create your own chat client and chat server easily in C#, for local networks or the Internet.

in C# Programming Tutorials

Getting Hard Drive Information

Getting Hard Drive InformationA C# tutorial showing you how to make use of WMI to extract information on disk drives, such as model, capacity, sectors and serial number.

in C# Programming Tutorials

UPS Shipping Calculator

UPS Shipping CalculatorThis tutorial will teach you how to calculate the shipping cost based on the weight, height, length and depth of the box, the distance and the UPS service type.

in PHP Programming Tutorials

Create Your Own Rich Text Editor

Create Your Own Rich Text EditorCreating a Rich Text Editor using JavaScript is easier to do than you might think, thanks to the support of modern browsers; this tutorial will walk you through it.

in JavaScript Programming Tutorials
Search
Tutorials
Programming Tutorials
IT Jobs
From CareerBuilder

How To Prevent Hotlinking Using .htaccess

On Saturday, September 27th 2008 at 05:41 AM
By Andrew Pociu (View Profile)
****-   (Rated 3.7 with 3 votes)
Advertisement

A very easy way to prevent your gif, jpeg, png files (and any other file formats you choose) from being hotlinked in other websites is to use a few mod_rewrite rules in your .htaccess file.

  1. RewriteEngine on
  2. RewriteCond %{HTTP_REFERER} !^$
  3. RewriteCond %{HTTP_REFERER} !^http://([-a-z0-9]+\.)?geekpedia\.com [NC]
  4. RewriteRule \.(gif|jpe?g|png)$ - [F,NC,L]

Digg Digg It!     Del.icio.us Del.icio.us     Reddit Reddit     StumbleUpon StumbleIt     Newsvine Newsvine     Furl Furl     BlinkList BlinkList

Rate Rate this Knowledge Base article
Comment Current Comments
by Lewis Cowles on Monday, March 30th 2009 at 03:32 PM

I personally worry about all this hot-linking nonsense im signed up to dreamhost and they offer free protection but with websites like flickr and photobucket around im not sure why I should even host my images! I'm even startig to advise clients to save on hosting osts and bandwidth by using these free services

by hardysale on Thursday, February 25th 2010 at 11:49 AM

Timberland boots are also noted for their extreme durability and dependability; it lasts through many, many years and can withstand all the rigors of wear and tear, weather and terrains. These, combined with their stylish designs, make Timberland footwear the perfect pair of shoes one can ever own. Quality doesn’t have to be really expensive. You can get good quality cheap timberland if you know where to look and what to look for. There are a few brands that make quality sheepskin boots that will wear well for you for a long time and become one of your best friends.
welcome to www.shoetimberland.com

by stacey on Friday, May 14th 2010 at 08:49 AM


good post
http://www.howtowritetermpapers.com/


Comment Comment on this Knowledge Base article
Name: Email:
Message:
Knowledge Base Related Knowledge Base Articles
There are no related KB articles.

Comment Related Source Code
There is no related code.

Comment Related Tutorials
There are no related tutorials.

Jobs Apache Job Search
My skills include:

Enter a City:

Select a State:


Advanced Search >>
Sponsors
Discover Geekpedia

Other Resources