Previous Thread
Next Thread
Print Thread
Rate Thread
#231723 01/04/2003 2:15 PM
Joined: Aug 2002
Posts: 27
User
User
Offline
Joined: Aug 2002
Posts: 27
More and more bandwidth issues slap me in the face every month. In analyzing my band width usage I discovered there was hot linking to my forum. I have a gallery of about 1000 pictures in my forums and. access is restricted to members only but the pictures do get hot linked by some. Finding these out on the Internet is a time consuming process so I decided to use .htaccess to prevent hot linking..

Here is a readily available Java script I am thinking about using.

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.com/.*$ [NC]
RewriteRule \.(gif|jpg)$ {http://www.mydomain.com/nasty.gif} [R,L]

Do you see any potential problems with creating a new .htaccess file using this script and placing it in my ubbt directory? I am sure some of you have faced and resolved the hot linking issue on your site and if you know of another way I would appreciate your sharing.

Sponsored Links
Entire Thread
Subject Posted By Posted
Hot Linking Watchdog 01/04/2003 9:15 PM
Re: Hot Linking Dave_L_dup1 01/04/2003 11:23 PM
Re: Hot Linking Dslam 01/05/2003 3:56 AM
Re: Hot Linking omegatron 01/05/2003 4:41 AM
Re: Hot Linking Dslam 01/05/2003 5:14 AM
Re: Hot Linking omegatron 01/05/2003 6:00 AM
Re: Hot Linking dimopoulos 01/05/2003 8:55 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)