Banning Visitors From My Site

Banning Visitors From My Site

Posted by: frittee82
Posted on: 2009-10-12 12:34:00

I've had some problems with a user on my website, leaving abusive messages and what have you and stealing some of my work.

Is there anything I can do to block this persons IP address from accessing my site altogether? I realize this is a drastic measure but I'm ready to take these steps to keep this person away from me.

Thanks.

Re: Banning Visitors From My Site

Posted by: Atropos7
Posted on: 2009-10-12 12:40:00

Do you know what their IP address is?

Add this to your document root .htaccess file:

deny from x.x.x.x

That's going to be a lot of IP addresses if they are coming in through dynamic addresses like DSL or wireless.



Customer since 2000 cool openvein.org

Re: Banning Visitors From My Site

Posted by: sXi
Posted on: 2009-10-12 13:11:00

Or redirect them to YouTube for some rick roll.

Because they deserve it smile




How To Install PHP.INI / ionCube on DreamHost