Log In · Register

 
 
Reply to this topicStart new topic
are subdomains allowed to do this?
miszxjojo
post Mar 4 2009, 01:00 PM
Post #1


Senior Member
*****

Group: Member
Posts: 354
Joined: May 2007
Member No: 526,982



so i have a subdomain. and i was wondering if i was allowed to ban people? or does your host have to do that for you?
 
Maccabee
post Mar 4 2009, 01:04 PM
Post #2


Senior Member
*******

Group: Official Designer
Posts: 5,880
Joined: Nov 2007
Member No: 593,382



You can give your admin the ip address and ask them to ban them.
Heres some links with codes to do it though.
http://forums.digitalpoint.com/showthread.php?t=67344
http://www.htmlbasix.com/blockusers.shtml
 
imperfectionistx
post Mar 4 2009, 01:16 PM
Post #3


(:
*****

Group: Official Designer
Posts: 461
Joined: Jul 2005
Member No: 184,978



toolator.com works for me. It "bans" through redirecting though.
 
newkidontheblock
post Mar 4 2009, 03:11 PM
Post #4


Offline.
*****

Group: Official Designer
Posts: 609
Joined: Mar 2007
Member No: 507,591



as long as you have to option to do that and its not against any of the admin terms then its good.
 
fixtatik
post Mar 4 2009, 04:21 PM
Post #5


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



if you know the IP address of the person you're looking to block, you can just use a simple rule in a .htaccess file.
if you don't already have a .htaccess file, you'll need to create one (the entire file is named ".htaccess"; there's nothing before or after it).

paste this into the file, save it, and upload it to the root directory of your domain (yoursite.yourhostsite.com/.htaccess):
CODE
order allow,deny
deny from ###.###.###.###
deny from ###.###.###.###
allow from all
replace the # symbols with the IP address. if you need more, just add them to the list.
 

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