Comment ne pas se faire leecher [linker] ses images ?

Comment ne pas se faire leecher [linker] ses images ? - Windows & Software

Marsh Posté le 15-04-2002 à 16:55:21    

Evidemment un pusso de 12 ans a piqué les images de mon site.
 
Je voudrais savoir comment marche les systèmes qui permettent de n'afficher les images que pour les visiteurs du site, en fonction du référent quoi.
 
Merci & Fxxx the leechers.
 
 :hello:

 

[jfdsdjhfuetppo]--Message édité par Master_Jul le 25-04-2002 à 21:29:24--[/jfdsdjhfuetppo]


---------------
En français, on écrit "connexion", pas "connection".
Reply

Marsh Posté le 15-04-2002 à 16:55:21   

Reply

Marsh Posté le 15-04-2002 à 17:04:01    

a partir du moment ou tes images s'affichent on pourra toujours les pomper d'une facon ou d'une autre
apres c à toi de voir si le pb est tres important, si c'est la cas tu pourras considerer la chose de facon juridique (si les images t'appartiennent - c a dire faite par toi)

 

[jfdsdjhfuetppo]--Message édité par Stranger--[/jfdsdjhfuetppo]

Reply

Marsh Posté le 15-04-2002 à 17:21:00    

Master_Jul a écrit a écrit :

Evidemment un pusso de 12 ans a piqué les images de mon site.
 
Je voudrais savoir comment marche les systèmes qui permettent de n'afficher les images que pour les visiteurs du site, en fonction du référent quoi.
 
Merci & Fxxx the leechers.
 
 :hello:  




Écoute, si tu diffuses tes images sur internet, c'est que tu es prêt à les partager! Sinon, ben intente un procès au mec... :sarcastic:  
Franchement, qu'est-ce que ça peut foutre qu'on te pique des images, entre toi et moi? Y a des scripts qui interdisent le clic droit, mais c,est une belle connerie, car ça n,empêche en rien d'utiliser un logiciel de capture d'écran... ou de récupérer l'image dans le cache, tout simplement! En plus, ça fait chier les internautes!
 
P.s: si tu tiens tant que ça à la propriété de tes images, ne les publie pas! :sarcastic:  :sarcastic:


---------------
"Quand le sage montre la lune, le sot regarde le doigt!"
Reply

Marsh Posté le 15-04-2002 à 17:22:24    

En effet, il n'y a aucune solution qui te mette à l'abri.
 
Un truc quand même : afficher tes images dans des animes flash réduit un peu les risques (arrête certains petits cons de 12 ans), mais bon, pas de miracles (impr. écran de toute manière).

 

[jfdsdjhfuetppo]--Message édité par LexTuhor--[/jfdsdjhfuetppo]


---------------
Pour toute question concernant :  
Reply

Marsh Posté le 15-04-2002 à 17:30:17    

Ce qu'il veut plutôt c'est éviter que les autres fassent des liens:

Citation :

afficher les images que pour les visiteurs du site, en fonction du référent quoi.


Y a moyen de faire ça avec un .htaccess
Ou alors utiliser chez.com, ça le fait d'office :D

 

[jfdsdjhfuetppo]--Message édité par antp--[/jfdsdjhfuetppo]


---------------
mes programmes ·· les voitures dans les films ·· apprenez à écrire
Reply

Marsh Posté le 15-04-2002 à 17:55:38    

master jull met plus de photo des meufs dans ton bahu jen suis friant :)
trop style mais te fais pas chopé, soit prudent  :lol:

Reply

Marsh Posté le 23-04-2002 à 21:39:31    

non vous n avez pas compris, le problème, ce n'est pas  de repomper les images au sens propres mais c'est le fait que les gars utilise directement les liens de mes images, et ca, on peut y trouver des parades il me semble


---------------
En français, on écrit "connexion", pas "connection".
Reply

Marsh Posté le 23-04-2002 à 21:48:39    

C'est ce que je disais : chez.com ou un .htaccess


---------------
mes programmes ·· les voitures dans les films ·· apprenez à écrire
Reply

Marsh Posté le 23-04-2002 à 21:54:39    

antp a écrit a écrit :

C'est ce que je disais : chez.com ou un .htaccess  




 
tu peux préciser ce kil faut mettre ds le htaccess ?


---------------
En français, on écrit "connexion", pas "connection".
Reply

Marsh Posté le 23-04-2002 à 21:55:22    

Non, désolé, je ne me souviens plus :/


---------------
mes programmes ·· les voitures dans les films ·· apprenez à écrire
Reply

Marsh Posté le 23-04-2002 à 21:55:22   

Reply

Marsh Posté le 23-04-2002 à 23:18:20    

mets des watermarks ?

Reply

Marsh Posté le 24-04-2002 à 09:37:18    

SirJeannot a écrit a écrit :

mets des watermarks ?  




 
:sarcastic: Faut tout lire, sinon on répond à côté de la plaque


---------------
mes programmes ·· les voitures dans les films ·· apprenez à écrire
Reply

Marsh Posté le 24-04-2002 à 09:49:27    

j'avoue, j'ai eu la flemme  [:sirjeannot]

Reply

Marsh Posté le 25-04-2002 à 21:29:02    

:bounce:

Reply

Marsh Posté le 25-04-2002 à 21:30:15    

Reply

Marsh Posté le 25-04-2002 à 21:30:50    


 
oui c est exactement ce que je veux faire

Reply

Marsh Posté le 25-04-2002 à 22:22:11    

attention, ça n'empêche pas quand même pas de la sauvegarder avec un bête clic droit.
@+ :)

Reply

Marsh Posté le 25-04-2002 à 22:43:17    

blueteen a écrit a écrit :

attention, ça n'empêche pas quand même pas de la sauvegarder avec un bête clic droit.
@+ :)  




 
mais nan, spa possible vous comprenez pas
 
JE NE VEUX PAS QU ON ME LINK MES IMAGES DE MON SERVEUR
 
pour des tas de raisons, l'une étant la limitation de bande passante, je veux pas qu'on me bouffe ma bande passante pour mes visiteurs en linkant mes images sur des sites de merde de leechers du dimanche


---------------
En français, on écrit "connexion", pas "connection".
Reply

Marsh Posté le 25-04-2002 à 22:47:09    

oui oui j'ai compris :)
je précisais juste :p

Reply

Marsh Posté le 26-04-2002 à 21:41:31    

blueteen a écrit a écrit :

oui oui j'ai compris :)
je précisais juste :p  




 
nan cai nul de toute façon :na:  
 
le clic droit, y'a des méthodes à la con pour le virer, si on veut repiquer une image, la méthode ultime reste sans aucun doute "impr écran"


---------------
En français, on écrit "connexion", pas "connection".
Reply

Marsh Posté le 26-04-2002 à 21:45:41    

ba vi on pourra tjs les enregistrer
 
mais la bande passante ouais
 
et puis bon ca fait bien  :D  
 
style tomshardware :
 
 
http://www4.tomshardware.com/video/02q2/020405/images/marketing.jpg
 
 
j'avais vu un .htaccess mais je me souviens plus non +  :sweat:

 

[jfdsdjhfuetppo]--Message édité par laurent_g le 26-04-2002 à 21:46:19--[/jfdsdjhfuetppo]

Reply

Marsh Posté le 26-04-2002 à 21:51:41    

et y a des méthodes à la con qui virent tes méthodes à la con...
Y A RIEN QUI EMPECHE UN CLIC DROIT...
 

Master_Jul a écrit a écrit :

 
 
nan cai nul de toute façon :na:  
 
le clic droit, y'a des méthodes à la con pour le virer, si on veut repiquer une image, la méthode ultime reste sans aucun doute "impr écran"  



Reply

Marsh Posté le 26-04-2002 à 22:01:45    

oui de toute façon on s'en fout
 
on veut l'.htaccess ou la méthode utilisée pour pas se faire linker...
 
ou alors effectivement chez.com le fait mais c chiant parce que c d'office meme pour les trucs qui te concernent c un peu idiot...

Reply

Marsh Posté le 26-04-2002 à 22:07:50    

meuh non il suffit de récuperer le host précédent, de le comparer à ton DN et de valider ou d'invalider les liens dans une BDD!

Reply

Marsh Posté le 26-04-2002 à 22:15:01    

http://www4.tomshardware.com/video [...] extigy.gif
 
c bizarre je clique sur le lien -> je vois l'image
 
 
si je copie l'url sur nouvelle fenetre etc : ca marche
 
 
suffit que je la linke moi sur le forum entre deux balises
 
http://www4.tomshardware.com/video/02q2/020405/images/noiselevel_extigy.gif
 
 
et après ça marche plus sur une nouvelle fenetre meme pas on voit l'image sur la page de tomshardware directement
 
 
HUMM : cela ne viendrait il pas du cache ?

 

[jfdsdjhfuetppo]--Message édité par laurent_g le 26-04-2002 à 22:17:15--[/jfdsdjhfuetppo]

Reply

Marsh Posté le 26-04-2002 à 22:16:34    

[:wam]  
 
 
ps->je ne poste pas tant pour rire de tes problèmes métaphysiques que pour te débloquer l'antiflood, tu es terrible :D

Reply

Marsh Posté le 26-04-2002 à 22:19:26    

krapaud a écrit a écrit :

[:wam]  
 
 
ps->je ne poste pas tant pour rire de tes problèmes métaphysiques que pour te débloquer l'antiflood, tu es terrible :D  




 
 :heink:  :heink:  
 
mouais bon je doute un peu de qqs trucs mais apparemment on ne se bouscule pas pour l'expliquer ô grand connaisseur de la science infuse  :fuck:  :fuck:

Reply

Marsh Posté le 26-04-2002 à 22:20:53    

hum ouais ct le CACHE D'INTERNET EXPLORER, quand tu fais actualiser ca remets l'image
 
c un peu dla merde i.e. quand meme quand je mets l'url d'une image sur une nouvelle fenetre ça pourrait retourner chercher l'image bordel  :D

 

[jfdsdjhfuetppo]--Message édité par laurent_g le 26-04-2002 à 22:23:47--[/jfdsdjhfuetppo]

Reply

Marsh Posté le 26-04-2002 à 22:24:05    

laurent_g a écrit a écrit :

 
 
 :heink:  :heink:  
 
mouais bon je doute un peu de qqs trucs mais apparemment on ne se bouscule pas pour l'expliquer ô grand connaisseur de la science infuse  :fuck:  :fuck:  




 
bah en fait j'ai rien compris à ton prob et l'image s'affichait partout pour moi :D

Reply

Marsh Posté le 26-04-2002 à 22:25:54    

krapaud a écrit a écrit :

 
 
bah en fait j'ai rien compris à ton prob et l'image s'affichait partout pour moi :D  




 
ba en fait quand tu linkes sur le forum :
 
c le logo de toms qui s'affiche
 
 
mais quand je retournais sur la page de tomshardware avec internet explorer, dans la page de tomshardware ca n'affichait pas les images mais le logo
 
 
tout ca parce que internet explorer ne va pas revérifier l'image en voyant qu'elle est déjà en cache
 
donc fo faire actualiser
 
 
donc c I.E. SUXXS  :D

 

[jfdsdjhfuetppo]--Message édité par laurent_g le 26-04-2002 à 22:26:25--[/jfdsdjhfuetppo]

Reply

Marsh Posté le 26-04-2002 à 22:26:52    

tjs est il que y'a pas foule pour répondre à la question du topic  [:yes%20papa%20!!!]

Reply

Marsh Posté le 26-04-2002 à 22:31:53    

Jar Jar a écrit a écrit :

J'ai une idée très con : mets l'adresse de ton site dans le coin de tes photos.  




 
oui ca on peut le faire aussi c bien
 
mais ca empeche pas le truc de la bande passante
 
et qu'on cherche la méthode
 
(bon en fait je me sens pas de chercher mais sur le net
ca doit etre écrit)

Reply

Marsh Posté le 26-04-2002 à 22:34:29    

ça dépends du serveur que tu utilises !
 
c'est quoi ?
 
apache ?


---------------
Sujet sur les cartes son audiophiles pour mélomanes et musiciens & DAC+ADC
Reply

Marsh Posté le 26-04-2002 à 22:36:24    

ah oui mais on est exigent on veut aussi la technique sur du ftp perso (mais bon là je sais pas si ça existe  :lol: )

Reply

Marsh Posté le 26-04-2002 à 22:38:44    

http://search.apache.org/
 
Prevent "Image Theft"
This example shows how to keep people not on your server from using images on your server as inline-images on their pages. This is not a recommended configuration, but it can work in limited circumstances. We assume that all your images are in a directory called /web/images.
 
    SetEnvIf Referer "^http://www.example.com/" local_referal
    # Allow browsers that do not send Referer info
    SetEnvIf Referer "^$" local_referal
    <Directory /web/images>
       Order Deny,Allow
       Deny from all
       Allow from env=local_referal
    </Directory>

Reply

Marsh Posté le 27-04-2002 à 06:18:03    

laurent_g a écrit a écrit :

tjs est il que y'a pas foule pour répondre à la question du topic  [:yes%20papa%20!!!]  




 
j'ai répondu!!!

Reply

Marsh Posté le 27-04-2002 à 09:31:31    

DDT a écrit a écrit :

http://search.apache.org/
 
Prevent "Image Theft"
This example shows how to keep people not on your server from using images on your server as inline-images on their pages. This is not a recommended configuration, but it can work in limited circumstances. We assume that all your images are in a directory called /web/images.
 
    SetEnvIf Referer "^http://www.example.com/" local_referal
    # Allow browsers that do not send Referer info
    SetEnvIf Referer "^$" local_referal
    <Directory /web/images>
       Order Deny,Allow
       Deny from all
       Allow from env=local_referal
    </Directory>  




 
Merci :jap: et merci aux autres également, j'ai pu trouver ca avec :
 

Citation :

Keeping Your Images from Adorning Other Sites
Jun 14, 2000, 08 :00 UTC (62 Talkback[s]) (46933 reads) (Other stories by Ken Coar)  
 
 
By Ken Coar
 
Webmasters are ever searching for ways to make their sites look cool and attractive. One way is to dress it up with images, logos, and other graphics--sometimes referred to as 'eye candy.' Of course, if you happen to be in the forefront of this in any way, you run the risk of having others cadge your art in order to dress up their sites. And they probably won't even ask permission nor pay you a royalty, either.  
 
This article shows how you can use Apache configuration directives to limit access to your art so that it's more difficult to use elsewhere.  
 
The Problem
Simply put, there are two types of "infringement" involved here:  
 
Someone uses an IMG tag on its site to refer to a graphic on yours  
Someone downloads an image from your site and makes a copy on its  
The first type not only causes your images to prettify someone else's site, but hurts you more directly because visitors to their site are hammering yours to get the images. Your log files get filled with access request entries, your bandwidth gets used -- and you're getting no benefit from it. This type of theft is almost completely preventable.  
 
The second type of theft is more insidious. The 'borrower' doesn't cause your site to get pounded on for access to the images, since they've been copied to the borrower's site, but you probably weren't given any credit for the artwork--and you probably don't even know the theft happened. Because of the way the Web works, this type of theft can't really be prevented, but you can at least make it a little more difficult.  
 
You can't completely prevent either of these, of course, but you can make them more difficult to do.  
 
Identifying the Files to Protect
You're probably not going to want to protect every document on your site. Even if you do, for the sake of this article I'm assuming you only want to protect your artwork. So how do you indicate that the rules only apply to them? With directives such as the following in your server config files:  
 
    <FilesMatch ".(gif|jpg)">
        [limiting directives will go here]
    </FilesMatch>
   
You can put a container such as this inside a <Directory> container, or inside a <VirtualHost> container, or outside any containers at all (in which case it applies to all such files on your server), or even inside .htaccess files. Put it wherever it makes sense to protect what you want protected.  
 
The Key: the Referer Header Field
Down on the wire, where the browsers, spiders, and servers live, every request for a Web page includes a component called the HTTP request header. This contains information about the request, such as the user's preferred languages, the types of documents the client is able to handle -- and not least, the name of the item being requested. This information is conveyed in a series of name/value pairs called header fields.  
 
One of these header fields is of particular importance to what we want to do. It's called the Referer field (yes, I know, it's misspelt--but that's how it's misspelt in the definition, too), and it indicates the URL of the client's last page if and only if the client is following a link. That is, if you're viewing page A, and click on a link to page B, the request for page B will include a Referer field that says "I'm following a link on page A." If no link is being followed, such as if the user just typed B's URL into the Location field of his browser, there will be no Referer field in the request header.  
 
How does this help? Well, it gives us a way to tell whether an image is being requested because it was linked to by one of our pages -- or by someone else's.  
 
Using SetEnvIf to 'Tag' Images
For a simple case, suppose our Web site's main page is <http://my.apache.org/>. In this case, we want to restrict any artwork requests that don't originate on our site (i.e., only allow them if the image was linked to by one of our pages). We can do this by using an environment variable (also called an envariable) as a flag, and setting it if the conditions are right. Something like the following ought to do it:  
 
    SetEnvIfNoCase Referer "^http://my.apache.org/" local_ref=1
   
When Apache processes a request, it will examine the Referer field in the header, and set the environment variable local_ref to "1" if the value starts with our site address--i.e., is one of our pages.  
 
The string inside the quotation marks is a regular expression pattern that the value must match in order for the environment variable to be set. Describing how to use regular expressions (REs) is far beyond the scope of this article; for now, just be aware that the SetEnvIf* directives use them.  
 
The "NoCase" portion of the directive name means, "do this whether the Referer is 'http://my.apache.org/', or 'http://My.Apache.Org/', or 'http://MY.APACHE.ORG/' -- in other words, ignore the upper/lower caseness of the value.  
 
Using Envariables in Access Control
The Order, Allow, and Deny directives allow us to control access to documents based upon the setting (or unset-ness) of an envariable. The first thing to do is to indicate the order in which Apache will process Allow and Deny directives; you do with the Order directive as follows:  
 
    Order Allow,Deny
   
This means that Apache will go through any list of Allow directives it has that apply to the current request, and then repeat the process with any Deny directives. With this ordering, the default condition is 'denied;' that is, no-one will be able to access anything unless there's an applicable Allow directive.  
 
All right, so let's add the directive that will let local references work:  
 
    Order Allow,Deny
    Allow from env=local_ref
   
This will let a request proceed if the local_ref envariable is set (with any value whatsoever). Any and all other requests will be denied because they don't meet the Allow conditions and the default is to deny access.  
 
Note:  
Please don't fall into the trap of sprinkling your .htaccess and server config files with <Limit> containers. You almost certainly don't need them, and they'll just confuse the issue. Don't use them unless you really want to have GET requests treated differently from POST requests, for instance.  
 
Putting It All Together
Putting all these pieces together, we end up with a stanza of directives that looks something like this:  
 
        SetEnvIfNoCase Referer "^http://my.apache.org/" local_ref=1
        <FilesMatch ".(gif|jpg)">
            Order Allow,Deny
            Allow from env=local_ref
        </FilesMatch>
   
These may all appear in your server-wide configuration files (e.g., httpd.conf), or you can put the <FilesMatch> container in one or more .htaccess files. The effect is the same: Within the scope of these directives, images can only be fetched if they were linked to from one of your pages.  
 
Note:  
As of Apache 1.3.12 and earlier, the SetEnvIf* directives are only allowed in the server-wide configuration files. In later versions, they can be used inside containers and in .htaccess files.  
 
Going Further
I mentioned earlier that you can't fully prevent image theft. That's because of two things, which apply pretty much to the two different types of poaching respectively:  
 
Someone who really wants your artwork can always request it using a faked-up Referer value that happens to meet your criteria. In other words, by jiggering up the request so it looks like it's a reference from your site.  
If someone legitimately views your artwork by going through your pages, the image files are almost certainly in his client's cache somewhere. So he can pull it out of a cached valid request rather than making another one just to pick up the image.  
Though it's essentially impossible to foil someone who's really desperate to snitch your artwork, the steps described in this article should make it too difficult for the casual poacher.  
 
Another thing you can do, depending upon how protective you are of your art, is to watermark the images. Watermarking a digital image consists of encoding a special 'signature' into the graphic so that it can be detected later. Digital watermarking doesn't degrade the quality of the image, and can be done in such a way that even a cropped subsection of the image contains the mark, and it's detectable even if the image has been otherwise edited since the mark was inserted. It's even possible to detect a watermark in an image that was printed and then scanned in, having left the digital realm altogether! If you watermark your images, there's an excellent chance you'll be able to prove snitching if you ever find a suspicious image on another site somewhere.  
 
Logging Snitch-Attempt Requests
If you're not sure whether anyone is really after your artwork, you can use the same detection mechanism and envariable to log suspicious requests. For instance, if you add the following directives to your httpd.conf file, an entry will be made in the /usr/local/web/apache/logs/poachers_log file any time someone accesses one of your images without a valid Referer:  
 
    SetEnvIfNoCase Referer      !"^http://my.apache.org/" not_local_ref=1
    SetEnvIfNoCase Request_URI  ".(gif|jpg)"               is_image=1
    RewriteEngine  On
    RewriteCond    ${ENV:not_local_ref} =1
    RewriteCond    ${ENV:is_image}      =1
    RewriteRule    .*                   -     [Last,Env=poach_attempt:1]
    CustomLog logs/poachers_log         CLF   env=poach_attempt
   
This should have the effect of logging all attempts to access your images using one of the potential 'snitching' techniques described in this article. The first two lines set flags for the conditions (that it's an image, and that it was't referred by a local document), the RewriteCond lines check to see if the flags are set, the RewriteRule line sets a third flag combining the two, and the last line causes the logging of the request in a special file if that last flag is set. The log entry is written in the pre-defined 'CLF' format ('Common Log Format';), but you could put together your own format just as easily.  
 
Other Resources
The techniques described in this article are geared toward a single purpose, but illustrate some of the capabilities of the Apache server. Here are some pointers to resources for further investigation:  
 
The HTTP/1.1 definition document: <URL:ftp://ftp.isi.edu/in-notes/rfc2616.txt>  
The main Apache Web site, of course: <URL:http://www.apache.org/>  
The documentation for Apache and its modules: <URL:http://www.apache.org/docs/>  
The canonical email response page: <URL:http://www.apache.org/foundation/email-response.html>  
(This page is normally used to respond to email requests for support, but there are lots of good resources listed on it.)  
Then there are the specific pieces of the Apache documentation that are directly related to the directives and commands described in this article:  
 
The documentation for <FilesMatch> documentation: <URL:http://www.apache.org/docs/mod/core.html#filesmatch>  
The mod_setenvif documentation: <URL:http://www.apache.org/docs/mod/mod_setenvif.html>  
The mod_access documentation: <URL:http://www.apache.org/docs/mod/mod_access.html>  
The mod_rewrite documentation: <URL:http://www.apache.org/docs/mod/mod_rewrite.html>  
The documentation on the CustomLog directive: <URL:http://www.apache.org/docs/mod/mod_log_config.html>  
Conclusion
Custom artwork can result from someone's effort, and taking without permission something that another has created is generally accepted as theft. This article has described a basic way to put your works of art behind a velvet rope--if you're so inclined. It won't stop determined thieves, but it should hopefully stymy or dissuade the more casual ones.


---------------
En français, on écrit "connexion", pas "connection".
Reply

Marsh Posté le 27-04-2002 à 14:14:52    

C cool mais pour celui qui a pas accès à apahe, y fait comment (certains hébergeurs par ex) ?
 
et pour un ftp classique, y'a pas de moyen ?

Reply

Marsh Posté le 27-04-2002 à 14:57:18    

si tes pages sont en ASP par ex tu peux faire un script qui detecte le HTTP_REFERAL, et tu valides ou invalides un lien ou une balise.

Reply

Marsh Posté le 27-04-2002 à 15:08:39    

Jar Jar a écrit a écrit :

Ça implique de générer toutes les images à la volée, donc même si c'est une génération triviale (si le referer est untel, renvoyer truc, sinon renvoyer machin), ça charge le serveur.  




 
exactement, mais c'est le seul moyen quand tu ne peux pas protéger un repertoire ;)
 
Avec IIS tu peux gérer les accès aussi, mais sur un site dont tu n'est pas l'hôte, c'est impossible.

Reply

Marsh Posté le    

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed