Forum Moderators: phranque

Message Too Old, No Replies

Blocking users

How do I block a user from my site?

         

cooldoug

2:38 am on Feb 15, 2005 (gmt 0)

10+ Year Member



How Do I block an annoying user from my site? He keeps using proxies, and getting around it. Can I block his computer name(not ip). He is stealing all my work and uploading it as his.If anyone knows anything that can help me, please do.I am very new at this.
Thanks in advance....Doug. :)

Orbite

5:03 am on Feb 15, 2005 (gmt 0)

10+ Year Member



How do you know it's the same user? What is constant about him?

Also what type of server side technologies do you have at your disposition : Apache, IIS, PHP, ASP, ...?

cooldoug

11:58 pm on Feb 15, 2005 (gmt 0)

10+ Year Member



I know its the same person,using the same IP, I use Apache.

incrediBILL

12:22 am on Feb 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month




If he's using proxies and you block one, he'll just use another.

My favorite methods of blocking them are called DMCA (digital millenium copyright act) and LAYWER .....

Orbite

1:55 am on Feb 16, 2005 (gmt 0)

10+ Year Member



I know its the same person,using the same IP, I use Apache.

Block the IP with a rewrite rules in your .htaccess file.


Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteCond %{REMOTE_ADDR} "^111.222.333.444$"
RewriteRule .* - [F,L]

[httpd.apache.org...]

cooldoug

2:52 am on Feb 16, 2005 (gmt 0)

10+ Year Member



Block the IP with a rewrite rules in your .htaccess file.

Where it says
"^111.222.333.444$"
, Do I replace that with one of his IPs or what? What do I need to replace?:)

phidentity

10:07 pm on Feb 24, 2005 (gmt 0)

10+ Year Member



Yeah, replace that number with his IP.

Jon

Don Markstein

4:31 am on Mar 3, 2005 (gmt 0)

10+ Year Member



This looks like it might be the solution to a problem I want to deal with, but since I'm an ignoramus when it comes to this sort of stuff (I'm not a Web technician, but a writer who runs a site using mostly simple HTML that even I can understand, and who greatly appreciates the patience of folks like you) I'm not absolutely sure.

I want to keep an outside site from displaying my pages in its frames. Question 1 is, will adding this code to my .htaccess file accomplish that goal?

Question 2: when phidentity confirmed that this requires replacing that number with his IP, does that mean to include the ^ at the beginning and the $ at the end? In other words, should it be "[HIS IP]" or "^[HIS IP]$"?

Question 3: I already have a .htaccess which, after much frustrating trial and error, I long ago succeeded in tweaking to a point where it blocks image leaching. Will this in any way interfere with that?

Question 4: There's some duplicate code between the two functions (notably the first two lines). Just leave that off, right?

Question 5: Adding another RewriteCond and RewriteRule won't negate the ones I have, will it? Or was that Question 3?

Five lines of code, five questions. I guess that's pretty indicative of the depth of my cluelessness, and again, I truly do appreciate the patience of knowledgeable people like you.

-- Don Markstein
Butt-ignorant webmaster

cooldoug

12:53 pm on Mar 3, 2005 (gmt 0)

10+ Year Member



Thanks everyone for your help!