 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
February 4th, 2005, 04:10 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jan 2005
Posts: 139
| Bandwidth theft
[quote]Bandwidth theft is always a need for mod rewrite so I doubt you will see any security measure more effective than that.
we provide an example to protect your images here http://www.photopost.com/tipsphp.html Quote: |
Bandwidth theft is always a need for mod rewrite so I doubt you will see any security measure more effective than that.
| I install your protect .htaccess solution, but imediatly the load of all pictures are extremlilly slow on my server.
I removed the .htaccess and the speed went back to normal again.
I re-install the .htaccess and again the load speed is slow.
There is any co-relation?
|
| |
February 4th, 2005, 05:38 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,788
|
I use something like this and I have no issues with speed
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://reeftalk.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://reeftalk.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.reeftalk.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.reeftalk.com$ [NC]
RewriteRule .*\.(mpg|mpeg|mov|wav|mp3|avi|rm|ram|qt|ra|zip|aiff|jpg|jpeg|gif|png|bmp)$ - [F,NC]
|
| |
February 4th, 2005, 09:46 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Sep 2003
Posts: 292
|
Here is what I use Code: Content visible to verified customers only.
This feeds a "visit mydomain.com for more info" image to any site that tries to display an image on their site
|
| |
February 4th, 2005, 10:08 PM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Jan 2005
Posts: 139
|
That one works much better HobbyTalk.
THere is no difference on speed when loading pages on my site now.
Now cames the stupid question : how can I test it to see if it's working???
|
| |
February 5th, 2005, 09:13 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,788
|
Mine and Hobbies is the same except his serves up an image which adds to bandwidth and mine doesnt LOL
Although I will add those images are usually negligible on size although it does add up
|
| |
February 5th, 2005, 12:28 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Jan 2005
Posts: 139
|
So any one can tell me how can I test it to see if it works?
Sorry for my ignorance. The first time I eard about Bandwidth theft was here, so not sure on how to 'see' it.
|
| |
February 5th, 2005, 12:47 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,788
|
simply try and post a link on some other site to one of your photos
|
| |
February 5th, 2005, 10:49 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Sep 2003
Posts: 292
|
The image it sends is only 0.5K... I'll give that up for the advertisement... All it says is "more info at mydomain.com" |
| |
February 5th, 2005, 10:57 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Jan 2005
Posts: 139
|
So, any one can tell me how to try it and see if it's working?
|
| |
February 5th, 2005, 11:28 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,788
|
I did above
|
| |
February 6th, 2005, 02:52 AM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Jan 2005
Posts: 139
|
I was afraid that the test was like that...
It's not working here:
This is the link who is supose to be stealing the image from my site: http://www.imigrar.com/testephoto.htm
and this is the .htaccess:
RewriteEngine on
rewritecond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?viajareua\.com/ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp| js|zip|exe)$ http://www.viajareua.com/images/motomen.gif [R,NC]
any ideas?
|
| |
February 6th, 2005, 05:06 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Sep 2003
Posts: 292
|
If he is seeing the original image then most likely his browser or firewall is not returning a referer... which a number of browsers and firewalls don't do. If you remove
rewritecond %{HTTP_REFERER} !^$
and get a red X instead of an image then that is the case. There is nothing you can do to prevent this from happening.
|
| |
February 6th, 2005, 05:53 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Jan 2005
Posts: 139
|
Ok. I read Omegatron and Hobby talk responses.
I wil try tomorrow, Sunday, from a different location and see what are the results.
Guys : I'm not crazing... I'm seing the PHotoPost picture and not the Motoman here at my browsers (IE and Firefox) 
Thank you so far and Monday I will post the resutls.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 07:05 AM. | |