This is a discussion on blocking direct links within the Windows Web Servers forums, part of the Web Server and Related Forums category; How do I block people from linging directly to my jpg and gif images???? Example: http://www.myserver.com/picture....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
How do I block people from linging directly to my jpg and gif images????
Example: http://www.myserver.com/picture.gif Is there a way to only have my html page display picture but no one can direct link it by typing whole path??? Thanks, Ed eddie@eddie1.net |
|
|||
|
if you mean an anti-leech script i can help you, meaning, you have pictures
on yur website, but if somone takes the link to thoes pictures and puts them on another site or a forum or somthing, it'll display a different picture of yur choice, a picture saying not to leech or steel your bandwidth somthing like that... lemme know ----- Original Message ----- From: "Me" <me@right.here> Newsgroups: comp.infosystems.www.servers.ms-windows Sent: Saturday, July 10, 2004 3:42 PM Subject: blocking direct links > How do I block people from linging directly to my jpg and gif images???? > Example: http://www.myserver.com/picture.gif > Is there a way to only have my html page display picture but no one can > direct link it by typing whole path??? > > Thanks, > Ed > eddie@eddie1.net |
|
|||
|
Me wrote:
> How do I block people from linging directly to my jpg and gif images???? > Example: http://www.myserver.com/picture.gif > Is there a way to only have my html page display picture but no one can > direct link it by typing whole path??? http://www.webmasterworld.com/forum92/1422.htm explains the most common solution using mod_rewrite, as well as an alternate approach if mod_rewrite is not available to you (assuming an Apache server, the concept applies to other servers as well but the configuration statements will be different). Read the notes below the examples before you implement such image blocking. One additional caveat: if your page is served through another service, for example translated with Babelfish or served from Google's cache, you will see a third party referrer also and therefore block image access. -- Klaus Johannes Rusch KlausRusch@atmedia.net http://www.atmedia.net/KlausRusch/ |