blocking a specific computer... |
blocking a specific computer... |
![]()
Post
#1
|
|
![]() ;) ![]() ![]() ![]() ![]() ![]() ![]() Group: Duplicate Posts: 2,374 Joined: Feb 2004 Member No: 3,760 ![]() |
apparently, my dad's been a complete loser and snooping around my website. we have the same internet provider (since i'm at home) so i don't think blocking his IP would be ideal at the moment... is there a way to block specific computers from visiting your site?
|
|
|
![]() |
![]()
Post
#2
|
|
![]() Live long and prosper. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 10,142 Joined: Apr 2007 Member No: 514,926 ![]() |
You would have to edit the .htaccess file on your directory. (I'd make a backup too) and in the htaccess file, you would have to change the Authentication settings.
QUOTE Visitors coming from that address will not be able to see the content behind this directive. If, instead, you have a machine name, rather than an IP address, you can use that. deny from hostname.example.com ( Full Article ) To find the mahine name of his computer, go on his PC, go to the command prompt, if you don't know how to get to that, go to run > cmd. After you are there, you should have the C:/ directory open, type in echo %computername% and press enter/return it should then give you the computer name, such as, mine is TCUNNIN-PC |
|
|
![]()
Post
#3
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrator Posts: 2,648 Joined: Apr 2008 Member No: 639,265 ![]() |
You would have to edit the .htaccess file on your directory. (I'd make a backup too) and in the htaccess file, you would have to change the Authentication settings. ( Full Article ) To find the mahine name of his computer, go on his PC, go to the command prompt, if you don't know how to get to that, go to run > cmd. After you are there, you should have the C:/ directory open, type in echo %computername% and press enter/return it should then give you the computer name, such as, mine is TCUNNIN-PC Couple points:
|
|
|
![]() ![]() |