  Steve I'm a PC, so shut up Consultant join:2001-03-10 Yorba Linda, CA
| reply to superman Re: The danger of linking to images you don't own
said by superman :what does that do? It says that when a request for the file dcp_0252.jpg (Kasia's pretty lake photograph) arrives other than when referred from her own website, it sends a different image: /images/ebayscam.jpg. This means the image works fine in her own gallery, but those who leech the image get something else.
I suppose it could have been more fine-tuned by looking for "match eBay referrer" rather than "anything other than my own referrer", so this breaks any other links that might be out there now.
Steve -- Stephen J. Friedl Unix Wizard Microsoft Security MVP Tustin, California USA my web site |
|
  superman The Flying Man Premium join:2004-10-30
| reply to nil
said by nil :btw, the mod_rewrite hack is very simple: RewriteCond %{REQUEST_URI} dcp_0252\.jpg RewriteCond %{HTTP_REFERER} !.*unix-girl\.com.* RewriteRule (.*) /images/ebayscam.jpg [R,L]
what does that do?
--
"I know what you're doing. But you can't buy back my friendship." - Clark Kent
"Look, I'm willing to give this friendship another shot if you are." - Lex Luthor
Formerly one on one |
|
  MapleLeaf Premium join:2001-09-04 Burnaby, BC | reply to nil Good job, nil !  |
|
  nil Java Geek join:2000-11-27
Host: Webmasters and Dev.. Forum Feature Requ..
| reply to Steve btw, the mod_rewrite hack is very simple:
RewriteCond %{REQUEST_URI} dcp_0252\.jpg RewriteCond %{HTTP_REFERER} !.*unix-girl\.com.* RewriteRule (.*) /images/ebayscam.jpg [R,L]
-- Life is too short to be boring |
|