hello,
i have trouble with some people using my flashpanos as an inframe on their website.
is there a possibility, to make panos work only on certain domains?
i think i can remember, this was discussed on the forum earlier...
regards, jan
stolen content
Your flashpanos - it's simple SWF unit (one flash movie file)
where can appear troubles? Use <DIV><IFrame> and much more...
go to http://youtube.com/ - see link example
where can appear troubles? Use <DIV><IFrame> and much more...
go to http://youtube.com/ - see link example
Gumir J | VR Panoramic Photographer | mobile: +77055717171 | skype: gumirj
website: gumirj.com | google.com/+gumirj | facebook.com/gumirj | twitter.com/gumirj
website: gumirj.com | google.com/+gumirj | facebook.com/gumirj | twitter.com/gumirj
create a .htaccess file and try this script:
Code: Select all
SetEnvIfNoCase Referer "^http://www.mydomain.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://www.mydomain.com$" locally_linked=1
SetEnvIfNoCase Referer "^http://mydomain.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://mydomain.com$" locally_linked=1
SetEnvIfNoCase Referer "^$" locally_linked=1
<FilesMatch "\.(html|swf|mov|gif|jpa|png|jpe?g)$">
Order Allow,Deny
Allow from env=locally_linked
</FilesMatch>
ErrorDocument 403 http://www.mydomain.com/advertising_for_me.gif
thanks for all replies!
@ThomasK:
i tried the htaccess thing. works, but:
i do have another domain (http://www.interaktive-fotografie.de) with the same content as my main domain (http://www.totzek.de)
the problem is, that the script doesnt allow my second domain to show the content as well...
can i change the script i a way, that both domains are working, but no other domain?
@hum@no.id:
i do not understand the youtube idea of solving the problem. i am not so much into code-stuff...
@ 360texas:
this is the original Pano on my website: http://www.totzek.de/html/pano02.html
this is the url with the stolen pano: http://sexbomb.ivyro.net/loca1.htm (not working at the moment because of htaccess)
regards, jan
@ThomasK:
i tried the htaccess thing. works, but:
i do have another domain (http://www.interaktive-fotografie.de) with the same content as my main domain (http://www.totzek.de)
the problem is, that the script doesnt allow my second domain to show the content as well...
can i change the script i a way, that both domains are working, but no other domain?
@hum@no.id:
i do not understand the youtube idea of solving the problem. i am not so much into code-stuff...
@ 360texas:
this is the original Pano on my website: http://www.totzek.de/html/pano02.html
this is the url with the stolen pano: http://sexbomb.ivyro.net/loca1.htm (not working at the moment because of htaccess)
regards, jan
Last edited by Jan_T on Mon Jul 21, 2008 8:04 pm, edited 1 time in total.
This works in a similar way as ThomasK's .htaccess solution, but allows you to specify domains that are allowed to access the images:
It's a good idea to allow Google and other search engines in as it will help your rankings. Google for htaccess and hotlinking for more info.
Code: Select all
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/(temp|bits)
RewriteRule ^.*$ - [L]
RewriteBase /
RewriteCond %{REQUEST_FILENAME} \.(gif|jpe?g|png|mov|swf)$ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !yourdomain\.com [NC]
RewriteCond %{HTTP_REFERER} !yourotherdomain\.com [NC]
RewriteCond %{HTTP_REFERER} !someoneelseyoulike\.co\.uk [NC]
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]
RewriteRule (.*) /bits/stolen.gif?/$1 [R,NC,L]
Roy
reeddesign.co.uk
reeddesign.co.uk
ah! thanks roy.
i changed the code to:
it seems to work...
my domains show their content and "sexbomb" doesnt. (at least on my machine) : http://sexbomb.ivyro.net/loca1.htm
i do not understand the /bits/stolen.gif part. is this a path to gif i can define? how does this work?
what is hotlinking?
thanks very much!, jan
i changed the code to:
Code: Select all
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/(temp|bits)
RewriteRule ^.*$ - [L]
RewriteBase /
RewriteCond %{REQUEST_FILENAME} \.(gif|jpe?g|png|mov|swf)$ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !totzek\.de [NC]
RewriteCond %{HTTP_REFERER} !interaktive-fotografie\.de [NC]
RewriteCond %{HTTP_REFERER} !someoneelseyoulike\.co\.uk [NC]
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]
RewriteRule (.*) /bits/stolen.gif?/$1 [R,NC,L]
my domains show their content and "sexbomb" doesnt. (at least on my machine) : http://sexbomb.ivyro.net/loca1.htm
i do not understand the /bits/stolen.gif part. is this a path to gif i can define? how does this work?
what is hotlinking?
thanks very much!, jan
You can use a file, in this case named stolen.gif, to define your message like "Stolen content from JanT" or you can insert something to advertise your services. Just control the path where the stolen.gif is on your server, in this case "/bits/stolen.gif"