Hotlink Protection

Status
Not open for further replies.
B

Brandon

Guest
Their are two ways to prevent someone from stealing your bandwith by using your images on another one involves .htaccess and I will explain this another time the other one is in Cpanel.

Lets go to our cpanel http://www.*********.x10hosting.com/cpanel, you will see the box below.


Now lets continue, you will look and click the icon below.
20dz.jpg


You will see this page under Urls to Allow Access is the list of websites that you allow your images to be shown on. Below that is Extentions to allow this is the filetypes that should be protected. Allow direct requests should only be checked if you are having a bad hotlinking problem. Now the URL to Redirect to is the page or image someone will see if the image is hotlinked.

This is an example http://www.zombiejuice.com/weedsworth/images/hotlink.jpg



Then hit Activate and now only the sites in the Urls to Allow Access box will be allowed to see your images.

There is a known issue with subdomains and cpanel if you park a domain in cpanel and have a subdomain made out of it. Example http://subdomain.********.com you must add http://subdomain.********.com and http://www.subdomain.********.com to your Urls to Allow Access box or images wont display correctly.
 

knoxoqe

New Member
Messages
272
Reaction score
0
Points
0
Another great tutorial, i was having some doubts about hotliking and how it functioned. Just a quick question: what does the "Extensions to allow" box does?

Good job once again.
 
B

Brandon

Guest
That is the extensions that will protected from being hotlinked.
 

Chris Z

Active Member
Messages
5,603
Reaction score
0
Points
36
Please don't blow off the dust of a topic that's over a year old.
*CLOSED*
 
Status
Not open for further replies.
Top