LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-18-2013, 06:15 AM   #1
mahan77
LQ Newbie
 
Registered: Apr 2013
Location: London
Distribution: centos
Posts: 14

Rep: Reputation: Disabled
Stop people linking my web site


Can somebody explain. I have web site call www.sathees.co.uk information on this site just for my work Colleague , it's no good to anybody else. But some reason www.energysaving247.co.uk and www.multlockwatchlock.co.uk linked to my site(I think via ip). Why they do this and how can I stop this? Any help and advice will be great.
 
Old 04-18-2013, 06:30 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Use a htaccess file to password protect your site, so that it is irrelevant if someone creates a link to it.
 
Old 04-18-2013, 07:04 AM   #3
manu-tm
Member
 
Registered: May 2008
Location: France
Distribution: Ubuntu, Debian
Posts: 343

Rep: Reputation: 43
You can find out "who they are" with (in a terminal):
Code:
whois energysaving247.co.uk
Code:
whois multlockwatchlock.co.uk
 
Old 04-18-2013, 01:06 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Moved: This thread is more suitable in the Linux Server forum (not a Linux Security issue) and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 04-18-2013, 01:48 PM   #5
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
kinda' impossible to stop others from linking to your site (short of taking it offline).

its kinda' like asking how to prevent people from knocking on your door ?
 
Old 04-18-2013, 02:40 PM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by schneidz View Post
kinda' impossible to stop others from linking to your site (short of taking it offline).

its kinda' like asking how to prevent people from knocking on your door ?
Not "impossible"
Code:
iptables -A INPUT -s 82.165.11.220 -j DROP
or
Code:
deny from 82.165.11.220
in an .htaccess file.

Anyone see anything amiss with that advice?
 
1 members found this post helpful.
Old 04-18-2013, 04:27 PM   #7
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
^ i am not sure if that would block the ip-address of the person clicking on the link

or block everyone clicking on that link from that referrer ?
 
Old 04-18-2013, 04:33 PM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Habitual View Post
Anyone see anything amiss with that advice?
Yeah, the amount of host names assigned to the IPv4 address (I count 10). Don't get me wrong, I'm definitely in favor of network layer blocking over anything else, but in this case one of them application level anti-deep-linking tools may help. I mean protocol-wise shouldn't you see a referrer header?..
 
Old 04-19-2013, 03:49 AM   #9
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
If you know your collegue is only going to be accessing from a specific IP address then use .htaccess to block everything except valid IP addresses, or make use of basic authentication as per post #2
 
Old 04-19-2013, 05:11 AM   #10
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Smile

Quote:
Originally Posted by schneidz View Post
kinda' impossible to stop others from linking to your site (short of taking it offline).

its kinda' like asking how to prevent people from knocking on your door ?
Totally Agree with schneidz, it's quite impossible. Don't you want it your site will gain more popularity?

Or you can put a Disclaimer.

Anyone who will put a link back to my website, is punishable by a million pinch. LOL.

====================
I don't know whether there is some configuration to allow only one or two IPs to view your site then everything else will be block.
 
Old 04-19-2013, 05:43 AM   #11
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by JJJCR View Post
Don't you want it your site will gain more popularity?
As the original poster said:
Quote:
Originally Posted by mahan77 View Post
information on this site just for my work Colleague , it's no good to anybody else.
What I do find funny is that the original poster has also linked to his site from here!
 
Old 04-19-2013, 06:54 AM   #12
manu-tm
Member
 
Registered: May 2008
Location: France
Distribution: Ubuntu, Debian
Posts: 343

Rep: Reputation: 43
Code:
whois energysaving247.co.uk | grep -A 2 Registrar
    Registrar:
        Ascio Technologies Inc t/a Ascio Technologies inc [Tag = ASCIO]
        URL: http://www.ascio.com

 whois multlockwatchlock.co.uk | grep -A 2 Registrar
    Registrar:
        Webfusion Ltd t/a 123-reg [Tag = 123-REG]
        URL: http://www.123-reg.co.uk
First one seems to be some kind of marketing crap (IM0). You could first try and contact them.

Last edited by manu-tm; 04-19-2013 at 08:22 AM.
 
Old 04-19-2013, 08:19 AM   #13
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
instead of using a public forum like the world wide web why dont you use something meant for private sharing like scp ?
 
Old 04-19-2013, 06:22 PM   #14
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
Yeah, the amount of host names assigned to the IPv4 address (I count 10). Don't get me wrong, I'm definitely in favor of network layer blocking over anything else, but in this case one of them application level anti-deep-linking tools may help. I mean protocol-wise shouldn't you see a referrer header?..
Yeah, shared-hosting sucks?
 
Old 04-19-2013, 06:32 PM   #15
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Quote:
Originally Posted by mahan77 View Post
Can somebody explain. I have web site call www.sathees.co.uk information on this site just for my work Colleague , it's no good to anybody else. But some reason www.energysaving247.co.uk and www.multlockwatchlock.co.uk linked to my site(I think via ip). Why they do this and how can I stop this? Any help and advice will be great.
Put the site into a dropbox or owncloud folder, create a share link and send it only to your colleague. Remove the site from the server it is currently on. Problem solved. I do this with sites I create as practise activities so that people I know can comment on them.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
block particular web site form multiple site hosted web server and allow others lasantha Linux - Security 2 08-17-2010 01:49 PM
block particular web site form multiple site hosted web server and allow others lasantha Linux - Security 1 08-17-2010 12:09 PM
localhost:901 gets redirected to "Power Linking" web site advertisement condosolon Linux - Newbie 2 03-04-2004 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration