Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 2
Goto page 1, 2  Next
 
Reply with quote Download Post 
Post Test Prevent Image Hotlinking 
 
icyphoenix.com is in the whitelist... so the image should be displayed...


birthdaycake

ok it works...    great  
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Test Prevent Image Hotlinking 
 
Is it your own whitelist? A special mod or is it already in IP
 




____________
TheSteffen
Often SEARCH is the quickest way to get support.
IcyPhoenix German Support
 
TheSteffenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Test Prevent Image Hotlinking 
 
TheSteffen wrote: [View Post]
Is it your own whitelist? A special mod or is it already in IP


its configured in .htaccess (i´ll provite the code later here)

there are 2 ways to prevent hotlinking

1. block all domain who hotlink images, except yours
2. set only the domain which ist not auth to hotlink... <- i prefer this way

f.e. if someone (which domain ist blocked) link to a smilie or pic... it would not show the original pic... the pic which is showed f.e. this one

 nohotlinking
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Test Prevent Image Hotlinking 
 
Ah, OK... thanks for the information
 




____________
TheSteffen
Often SEARCH is the quickest way to get support.
IcyPhoenix German Support
 
TheSteffenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Test Prevent Image Hotlinking 
 
In any case that person is stealing you bandwith, since that image also consumes resources
 




____________
Gabriel Anca
 
KasLimonSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Test Prevent Image Hotlinking 
 
KasLimon wrote: [View Post]
In any case that person is stealing you bandwith, since that image also consumes resources


yes your right...

but for example... if you have a stealing site which includes many other single pictures from your server.. so it loads only that one image... and then its in the browser cache...

and the second thing is... i have no problem if some ask me if he can include a image... but without ausking, i dont tolerate it...
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Test Prevent Image Hotlinking 
 
could you please post the code here, Kugel
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Test Prevent Image Hotlinking 
 
spydie wrote: [View Post]
could you please post the code here, Kugel


Thanks for remind me...  

OPEN .htaccess
ADD
Code: [Download] [Hide] [Select]
### S T O P   H O T L I N K I N G    BEGIN
# Stop Hotlinking Images ONLY for a specific site
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?example.de\.tl/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?example\.com/ [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/nohotlinking.jpe [L]

# Blocks hotlinking for all other page, except your own page
#RewriteCond %{HTTP_REFERER} !^http://(.+\.)?caromonline\.de/ [NC]
#RewriteCond %{HTTP_REFERER} !^$
#RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/nohotlinking.jpe [L]
### S T O P   H O T L I N K I N G    END


You need to create an Image something like this:
 nohotlinking_1269987246_233368

Name it to nohotlinking.jpe an upload to folder images... or something else (change the path in htaccess)

greetings
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Test Prevent Image Hotlinking 
 
My question is this, only with the images uploaded to my FTP or by example with which I have to serve imageshack.us
 



 
My_PeSePeSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Test Prevent Image Hotlinking 
 
KasLimon, it use the server because off the request ^^".
 



 
InformproSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Test Prevent Image Hotlinking 
 
How would you do a whitelist for this ???

got my problems, with ht.access. Php/html is fine, but access is a bit more dificult for me

Does´nt work for me . Any chance to do this via php.ini file ??

my server does´nt read the access files.
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Test Prevent Image Hotlinking 
 
I think you can do that only via htaccess.

Otherwise you should create a php file which read images and then black and white list host using PHP code. Like the album does for example.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Test Prevent Image Hotlinking 
 
anyway there´s one inconvenience.

if you put that in ht.access, it also blocks your forum link image.

that means , you can´t do interchange of link´s with this, since you´ve got to put all pages with links to you´re site in the whitelist, so they´re able to hotlink any image of you´re site
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Test Prevent Image Hotlinking 
 
Holaa
 



 
iorioSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Test Prevent Image Hotlinking 
 
Hi there!

Just a question. I have already edited my htaccess and it works for now.
But now i have a little problem. It's about the dynamic images. They are all "not" hotlink protected.
Like this example: (this is the avatar!)
Code: [Download] [Hide]
  1. http://example.org/download/file.php?avatar=2_1296526796.png 


So i googled for it and snap up this code:
Code: [Download] [Hide]
  1. RewriteCond %{HTTP_REFERER} !^http://(www\.)?example.org/download/(.+)php/?avatar/=(.+)?$ [NC] 
  2.  

But this code deosn't work....

Can you help me further?
Thank you very much!

Greetings, testi
 



 
GhostsearcherSend private message  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 2
Goto page 1, 2  Next


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron