IPB

Google Frontpage Forums Unattended CD/DVD Guide
 
Reply to this topicStart new topic
> Block Anonymous Access, how to?
Orsi
post Jul 15 2007, 10:19 PM
Post #1


Hasta la Windows Vista, baby
**

Group: Members
Posts: 178
Joined: 9-October 03
From: Sao Paulo
Member No.: 7894
OS: Vista Ultimate x64
Country Flag


Hey there,
there's some stupid guy (or girl) accessing my site (my blog actually) and posting highly offensive comments. He's doing this for more than a year. I know he's only access my site through www.anonymouse.org, so how can I block his access?
Since my site is hosted in a third part server, I can't do anything directly in it, except if I use some javascript code or something.

Anybody can help with this code? (This means, tell me exactly how the code must be to work)


thanks :-)
Go to the top of the page
 
+Quote Post
ripken204
post Jul 16 2007, 11:29 AM
Post #2


The Hardware Guy
**********

Group: Members
Posts: 6144
Joined: 23-December 04
From: Rochester, New York
Member No.: 39158
OS: Vista Ultimate x64
Country Flag


well either you can manually type in the allowed ip addresses or you can have some sort of a login system.

you can check this out too.
http://labs.involutive.com/2007/06/03/php-...g-curl-library/
Go to the top of the page
 
+Quote Post
Idontwantspam
post Jul 16 2007, 05:04 PM
Post #3


Nerd-in-Chief
******

Group: Members
Posts: 1093
Joined: 25-February 07
From: Somewhere
Member No.: 128497
OS: Server 2008 x86
Country Flag


I don't know about www.anonymouse.org, but I'll assume it hides their IP address. Couldn't you block www.anonymouse.org's IP address? Or his, if possible?
Go to the top of the page
 
+Quote Post
Orsi
post Jul 17 2007, 06:45 AM
Post #4


Hasta la Windows Vista, baby
**

Group: Members
Posts: 178
Joined: 9-October 03
From: Sao Paulo
Member No.: 7894
OS: Vista Ultimate x64
Country Flag


Anonymouse IP always start with 85.195. , so I need some script allowing me to block some IP range.

A login system wouldn´t be usefull, since most people don't use them real name on internet forms, except for shopping
Go to the top of the page
 
+Quote Post
Idontwantspam
post Jul 17 2007, 03:58 PM
Post #5


Nerd-in-Chief
******

Group: Members
Posts: 1093
Joined: 25-February 07
From: Somewhere
Member No.: 128497
OS: Server 2008 x86
Country Flag


It would not be very feasible to do that with javascript, and they could disable it anyway. You need to see if there is any way in your web hosting control panel to block IP addresses.
Go to the top of the page
 
+Quote Post
electroglyph
post Jul 17 2007, 06:54 PM
Post #6


Newbie


Group: Members
Posts: 32
Joined: 18-February 07
Member No.: 127284
Country Flag


put this in your .htaccess

CODE
order deny,allow
deny from anonymouse.org 85.195.
allow from all
Go to the top of the page
 
+Quote Post
Orsi
post Jul 17 2007, 10:59 PM
Post #7


Hasta la Windows Vista, baby
**

Group: Members
Posts: 178
Joined: 9-October 03
From: Sao Paulo
Member No.: 7894
OS: Vista Ultimate x64
Country Flag


electroglyph > where I find this file in my web server? smile.gif
Go to the top of the page
 
+Quote Post
electroglyph
post Jul 18 2007, 03:18 AM
Post #8


Newbie


Group: Members
Posts: 32
Joined: 18-February 07
Member No.: 127284
Country Flag


http://www.javascriptkit.com/howto/htaccess.shtml

create it and place in the root folder of your site(htaccess affects current folder and all subfolders). htaccess is an apache thing, won't work if your site runs on a different webserver. also, your host may not allow you to use .htaccess because it can slow down the server.

so you'll want to test whether or not your .htaccess does anything once you upload it. an easy test would be to first try out an ErrorDocument directive.
Go to the top of the page
 
+Quote Post
Orsi
post Jul 18 2007, 12:27 PM
Post #9


Hasta la Windows Vista, baby
**

Group: Members
Posts: 178
Joined: 9-October 03
From: Sao Paulo
Member No.: 7894
OS: Vista Ultimate x64
Country Flag


tks...
the weird thing is that the password protection worked but IP blocking didn't...

I just sent an email to my web provider to check if it uses apache or something else

thank you smile.gif
Go to the top of the page
 
+Quote Post
Idontwantspam
post Jul 19 2007, 07:33 PM
Post #10


Nerd-in-Chief
******

Group: Members
Posts: 1093
Joined: 25-February 07
From: Somewhere
Member No.: 128497
OS: Server 2008 x86
Country Flag


Well, it's got to be an Apache server, and they have to let you. Some hosting providers don't.
Go to the top of the page
 
+Quote Post
Orsi
post Jul 19 2007, 08:18 PM
Post #11


Hasta la Windows Vista, baby
**

Group: Members
Posts: 178
Joined: 9-October 03
From: Sao Paulo
Member No.: 7894
OS: Vista Ultimate x64
Country Flag


yeah... I sent them an email asking what to do and they said I isn't possible cos' it would block the access to the whole server, not ownly my account

well, thank you all for the help
Go to the top of the page
 
+Quote Post
Idontwantspam
post Jul 19 2007, 10:39 PM
Post #12


Nerd-in-Chief
******

Group: Members
Posts: 1093
Joined: 25-February 07
From: Somewhere
Member No.: 128497
OS: Server 2008 x86
Country Flag


QUOTE (Orsi @ Jul 19 2007, 07:18 PM) *
yeah... I sent them an email asking what to do and they said I isn't possible cos' it would block the access to the whole server, not ownly my account

well, thank you all for the help

BULL! realmad.gif
Not what you said blushing.gif , what they said.

.htaccess files can be placed in any subdirectory and have effect on only that directory. They're either trying to get you to go away, or else thet're not as smart as they think. Even if it's hosted on IIS, it should be possible for them to block a certain IP range for just one directory.

EDIT:
And besides, why should they care if you block anonymous vandals? Though my above statement could be false if your stuff is in the root directory of the server, but I don't think it would be. Can you tell us what your domain name is and who hosts your blog?

This post has been edited by Idontwantspam: Jul 19 2007, 10:43 PM
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 9th January 2009 - 06:31 PM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2008 msfn.org
Privacy Policy