Prevent Hotlinking

Invite people to rate

Approval Rate: n/a%

n/a
Approval ratio
Reviews (1)

Neutral

Statistics

Timeline (approval ratios)

Ladies vs. gents

female image
x%

(..%)

Approval ratio

x%

(..%)

x

Ratings total

x

x

(0%)

Double Likes

x

(0%)

x

(0%)

Double Dislikes

x

(0%)

x%

Interest in topic

x%

male image

Your rating profile is slightly more similar to other male users

Reviews 0

All Reviews (1)
Sort by:
Sort by:
Sort by:
All Reviews (1)
  • by

    nesher

    Thu Oct 02 2008

    Hotlinking is the act of one site embedding content (such as images, audio files, and videos) hosted on another site. This uses up the ‘bandwidth’ (data transfer allowance) of the site hosting the file, which can be very expensive for webmasters who pay for hosting by the amount of data transferred — as a result, hotlinking is often called ‘leeching’ or ‘bandwidth theft’.Hotlinking can be prevented using the .htaccess file on an Apache web server, but cheaper web hosting packages often don’t allow webmasters to change this file. The code shown below allows webmasters to prevent hotlinking entirely from within PHP (without .htaccess), which is supported by most web hosting packages. As well as preventing hotlinking the code also allows the site to benefit from direct links (when a site links to content on another site but doesn’t embed it).